- Issue created by @rkoller
- 🇨🇦Canada mgifford Ottawa, Ontario
Great find. For more on testing for High Contrast Mode see:
https://bbc.github.io/accessibility-news-and-you/checklist/how-to/high-c...Also, here is some guidance from Microsoft styling for forced colors
https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-... - 🇨🇦Canada mgifford Ottawa, Ontario
There is going to be some overlap with https://www.drupal.org/project/gin/issues/3506350 🐛 Several icons and images are invisible in Forced Colors mode Active
Target is the Gin settings page admin/appearance/settings/gin
For the first item, this patch should be useful as this does provide an alternative for forced-colors:
@media (forced-colors: active) { input[type="radio"] { appearance: auto !important; forced-color-adjust: auto !important; } /* Reset default label styling for all options */ input[type="radio"] + label { all: unset; display: inline-block; padding: 0.2em 0.5em; } /* Style the selected option */ input[type="radio"]:checked + label { background-color: ButtonFace !important; color: ButtonText !important; font-weight: bold !important; text-decoration: underline !important; border: 2px solid HighlightText !important; } input[type="radio"]:focus-visible + label { outline: 2px solid Highlight !important; outline-offset: 2px; } }