Open
Bug 1691962
Opened 5 years ago
Updated 2 years ago
[meta] Replace relevant usages of -moz-windows-default-theme media query with prefers-contrast
Categories
(Toolkit :: Themes, task)
Toolkit
Themes
Tracking
()
NEW
People
(Reporter: ntim, Unassigned)
References
Details
(Keywords: meta)
Most usages of this media query are to differenciate high contrast themes from default themes. Those usages can be switched to prefers-contrast.
@media (-moz-windows-default-theme)
would change to @media not (prefers-contrast)
@media (-moz-windows-default-theme: 0)
would change to @media (prefers-contrast)
Also adds supports for HCM on macOS as well on the way. (thanks to https://phabricator.services.mozilla.com/D104562)
I would suggest starting with the usages in the shared directories first. For windows-specific dirs, it's worth looking at whether that code could be shared with other platforms for better a11y.
Updated•2 years ago
|
See Also: → hcm_prefers-contrast_audit
You need to log in
before you can comment on or make changes to this bug.
Description
•