footer OGL logo not visible in windows high contrast mode (flagged in an accessibility audit) #2272
Labels
accessibility
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
footer
🕔 hours
A well understood issue which we expect to take less than a day to resolve.
Milestone
Description of the issue
when you are in windows high contrast mode and view the govuk footer in edge, you inherit
svg { forced-color-adjust: none; }
from the user agent stylesheet which causes the license-logo in the footer to be invisible because the fill and the background are now very close to the same colour.Steps to reproduce the issue
turn on high contrast on windows and view the footer in edge
Actual vs expected behaviour
that the logo is visible, which could be done with media query targeting forced-colors and setting the color explicitly or by enabling the automatic behaviour of forced-color-adjust for this svg (example below where forced-color-adjust is set to auto - please note when I edited this in edge dev tools I had to close the dev tools and reopen them for some reason for this to apply, just in case you try to recreate the same way)
Environment (where applicable)
The text was updated successfully, but these errors were encountered: