Open
Bug 2082041
Opened 1 month ago
Updated 16 days ago
Correct the forced-colors claims about chrome and about: pages in the HCM docs
Categories
(Core :: Disability Access APIs, task)
Core
Disability Access APIs
Tracking
()
NEW
People
(Reporter: dao, Unassigned)
References
Details
accessible/docs/HCMMediaQueries.md and accessible/docs/HCMCSSChecklist.md disagree with the style system, and with "High contrast mode" in docs/code-quality/coding-style/css_guidelines.md, in a few places:
- HCMMediaQueries.md, "So what do I use?", counts the style sheets of
about:pages as chrome style sheets.PreferenceSheet::PrefsKindForgives chrome prefs only to a document in a chrome docshell, soabout:pages get forced colors like any web page. - HCMCSSChecklist.md, Check 2 table, lists Windows HCM under
forced-colors: active. Windows HCM puts chrome inforced-colors: requested; only content reachesactive, the only state where colors are actually forced. - Both docs say
prefers-contrast: morematches above 7:1. The code (nsMediaFeatures.cpp) uses a ratio of 7 or higher.
Also, the HCM subagent prompt in .claude/skills/accessibility-frontend-review/SKILL.md expects 14 checks ("Checks 11–14", "N/14"), but HCMCSSChecklist.md has 12.
| Reporter | ||
Updated•16 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•