Bug 1792672 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

`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/
`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/

Back to Bug 1792672 Comment 0