-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add guidance on using turquoise backgrounds #214
Conversation
Fixes the problem discussed in issue alphagov#200.
|
||
<p> | ||
Note that the white text on turquoise background only passes accessibility standards if the font size is at least 18px, or 14px bold. | ||
</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'accessibility standards' is a little vague, could this be revised to "only meets [
WCAG2 Level AA, with a contrast ratio of 3:1 for large text - when the font size is at least 18px, or 14px bold.
@gemmaleigh Not quite sure why the CI failed there... |
I'd like to revise this to: Make sure text on a coloured background is legible. To meet WCAG2 Level AA, you need to make sure the:
I've run this past the content designers on the Service Manual team. @sanjaypoyzer let me know if you're happy to amend and squash those two commits, otherwise I can. |
@gemmaleigh Does that mean that essentially services shouldn't use |
Yeah sure, that looks clearer. Will just wait for the clarification on the |
Yes, the example as-is would fail WCAG2 Level AA for smaller viewports, where If we don't intend to change the colour of the background - then the font size can either be increased, or the 19px white text on a turquoise background could use |
Should we add that to the guidance as well, or do you think it's clear enough to be inferred? |
This was added in #481, closing as this has now been resolved. |
Fixes the problem discussed in issue #200.