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

Accessibility: Use an accessible colour palette #8

Open
deinhofer opened this issue Jul 10, 2020 · 4 comments
Open

Accessibility: Use an accessible colour palette #8

deinhofer opened this issue Jul 10, 2020 · 4 comments

Comments

@deinhofer
Copy link
Contributor

According to https://davidmathlogic.com/colorblind/#%23D81B60-%231E88E5-%23FFC107-%23004D40 to reflect contrasts and colorblindness.

@sabicalija
Copy link
Collaborator

sabicalija commented Jul 10, 2020

You can use the following link to see the effects on the colors currently used for the website:
https://davidmathlogic.com/colorblind/#%232C3E50-%23287FA4-%23525C6B-%23FFFFFF

I think it's pretty the same as with asterics-docs (cf. here), as the colors are pretty much the same.

image

The dark gray which is used at some places seem to differ less from the dark blue with protanopia and deuteranopia (#2C3E50, #525C6B). But both colors are never used in combination for the website. I think there shouldn't be issues with contrast as they only appear in combination with white.

@sabicalija
Copy link
Collaborator

I took a detailed look on the contrast ratio. It seems fine (cf. highlighted columns, which represent the contrast ratios of used colors in combination with #ffffff a.k.a. white). The contrast (with white) is actually improved with the most common types of colorblindness.

image

color-palette.zip

@sabicalija
Copy link
Collaborator

There are several extensions for chrome and firefox available, simulating the different types of colorblindness. I have following extension installed: https://chrome.google.com/webstore/detail/spectrum/ofclemegkcmilinpcimpjkfhjfgmhieb

@deinhofer
Copy link
Contributor Author

the 3rd colour looks very similar to the 1st one, but if it's not used then it does not matter.

There are also some minor contrast problems (the borders and the date/time):
image

and on the course details page:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants