Support `prefers-constrast` media query on Android
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(Accessibility Severity:s4)
Accessibility Severity | s4 |
People
(Reporter: cpeterson, Unassigned)
References
Details
(Keywords: access)
prefers-contrast:more
activates styles that web authors have specified for users who prefer increase contrast, improving the overall web experience for these users.
Morgan Reschenberg says desktop Firefox activates prefers-contrast:more
when:
- macOS's "Increase Contrast" setting is on.
- Or Windows' high contrast mode setting is on and the ratio between the foreground and background colors is more than 7.
- Or Firefox's high contrast mode is on and the ratio between the foreground and background colors is more than 7.
We need to figure out how the high contrast settings on Android operate to know whether it should fall into the prefers-contrast:more
category. Depending on behavior, we may find forced-colors
more appropriate.
Mozilla Hacks blog post about adding prefers-contrast
support to desktop Firefox:
https://hacks.mozilla.org/2020/07/adding-prefers-contrast-to-firefox/
Reporter | ||
Comment 1•2 years ago
|
||
Fenix would not need new settings UI for high contrast mode. Android has system settings for high contrast display mode and color inversion that can query, though I'm not sure which system settings should control prefers-constrast
. It might be different depending on the Android OS version.
https://support.google.com/accessibility/android/answer/11183305
Comment 2•2 years ago
|
||
This is a separate question, but I wonder if we should enable backplate for users who have high contrast text
enabled in their android settings... 🤔
Reporter | ||
Comment 3•2 years ago
|
||
Tasks and enhancements should have severity N/A.
Updated•2 years ago
|
Updated•10 months ago
|
Description
•