Closed Bug 1788766 Opened 3 years ago Closed 3 years ago

Add a prefers-contrast override pref

Categories

(Core :: Widget, enhancement)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: aminomancer, Unassigned)

Details

We have some useful prefs ui.prefersReducedMotion and ui.systemUsesDarkTheme that make debugging for these features easier, but there isn't a global pref to force HCM. On Windows, enabling HCM is especially cumbersome, so it would be helpful to have a pref that overrides prefers-contrast in both chrome and content. Then it could also be used in tests.

ui.useAccessibilityTheme?

(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)

ui.useAccessibilityTheme?

Hmm, it makes the chrome look different from my Windows 10 HCM (baby blue toolbar for example), but maybe that's just bc the system colors aren't actually changing. I initially thought it was only applying to content but it seems to work, just with a few color differences. So I guess this should basically work for my purposes, thanks!

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.