Skip to content
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

Blog colours (mostly) do not pass contract checker for accessibility #248

Open
chriswilty opened this issue Oct 14, 2024 · 0 comments
Open
Labels
accessibility Anything related to accessibility enhancement New feature or request

Comments

@chriswilty
Copy link
Member

Problem

There are four colour schemes for our blog posts: teal, pink, orange, yellow - see scss/blog-colour-schemes.scss.

Of these, only the pink colour scheme passes contrast checks at AA standard, on a white background:

image

The others fail, with yellow being the worst offender:

image

It's important to note this indicates a general problem with our branding, though the plain white background is clearly not helping, as with a dark background the remaining three pass, e.g.

image

Solution?

For our blog, we might want to consider straying beyond our strict corporate theme colours, even if it just means darkening them a little, e.g.

#EC6F27
image

#27A4AA
image

Yellow is never going to pass though, on a white background 🫥

For this issue, I suggest adopting the above darkened colours and removing yellow entirely.

@chriswilty chriswilty added enhancement New feature or request accessibility Anything related to accessibility labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Anything related to accessibility enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant