WCAG Contrast checker
Checks for compliance with the contrast levels of foreground and background colors combination based on the requirements of WCAG 2.2
Additional files are visible only to premium users
manifest.json
{
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"author": "Jorge Rumoroso",
"manifest_version": 2,
"version": "3.8.4",
"icons": {
"48": "icons/icon_large.png",
"96": "icons/icon_large_96x96.png",
"128": "icons/icon128_with_margin.png"
},
"default_locale": "en",
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content_scripts/contrastChecker.js"
],
"css": [
"css/inDocumentStyles.css"
],
"run_at": "document_end",
"all_frames": true
}
],
"background": {
"scripts": [
"service-worker.js"
]
},
"permissions": [
"<all_urls>",
"activeTab",
"storage",
"webNavigation"
],
"browser_action": {
"default_icon": {
"32": "icons/icon_overlay.png"
},
"default_title": "WCAG Color contrast checker"
},
"web_accessible_resources": [
"html/*",
"css/*",
"getFrameId",
"_locales/*"
],
"applications": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "58.0a1"
}
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+Shift+C"
}
}
}
}