Add a high-contrast theme & improvements for the forced-colors mode #5661
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a high-contrast theme & improvements for the forced-colors mode
border: 1px solid var(--bg-opacity-1)
@media (forced-colors: active)
The high contrast theme is currently basically the light theme with stronger colors so that it complies with WCAG AAA
In the forced color mode you can now see certain features that where not visible before:
Forced contrast mode depends on the implementation of the OS & browser therefore the selected labels I cannot just highlight with a background color and I did it with a thick border.
Type of change
How Has This Been Tested
Local Build - Firefox Nightly + Chromium
Checklist