-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve colour contrast of Crown Copyright logo #2134
Comments
Updated issue to explain that the Crown Copyright logo meets colour contrast requirements for non-text elements and meaningful graphics, so this isn't a WCAG fail. |
Using axe DevTools, I also get a warning that on element .govuk-footer__copyright-logo, Element's background color could not be determined due to a background image |
Increases the copyright crest logo contrast to match the surrounding text mask-image is available in modern browsers and we fallback to regular background-image in all other browsers. Tested as functional (same as before) in Internet Explorer 9-11. Tested to increase contrast in Firefox latest, Chrome latest, Safari latest, iOS Safari latest, Chrome for Android latest. Closes alphagov#2134
If we want to exactly pass 4.5:1 contrast ratio without rocking the boat too much, we could go with That would be the closest colour to what we currently have, so would likely be barely noticeable by the general public (but will mean we meet the 4.5:1 threshold).
My hunch is that because this colour change is so minor, we wouldn't need to get approval from the folks that manage the Crown Copyright logo. We would still need to inform them though. |
What
The crown copyright logo against the footer background has a low contrast ratio. However, it does meet the contrast requirement for meaningful graphics of 3:1. We don't think this is a WCAG fail and it doesn't need to be listed in an accessibility statement, but there's potential work we can do to improve the contrast so it better matches that of the text/links around it.
The crown copyright logo has a hex code colour of
#6E777A
, which against the footer background of#F3F2F1
has a AA Large 4.09:1 colour contrast ratio.Normal Text
WCAG AA:Fail
WCAG AAA:Fail
Large Text
WCAG AA:Pass
WCAG AAA:Fail
Graphical Objects and User Interface Components
WCAG AA: Pass
Why
A comment was added to the epic about an issue raised in the Axe Review accessibility tool. The failure is only of the logo and not to the footer text.
Who needs to know about this
Designers, Developers, Policy
Further detail
A suggestion could be to change the colour of the logo but we would need to check with the owners of the Crown Copyright logo.
Here is a mock-up of the crown copyright logo using the footer text colour
#454A4C
which has a contrast ratio of AAA 8.03:1 against the footer background#F3F2F1
.Done when
The text was updated successfully, but these errors were encountered: