parnoldx / nasc

Do maths like a normal person
http://parnoldx.github.io/nasc/
GNU General Public License v3.0
560 stars 37 forks source link

AppCenter brand colors don't pass the contrast check #171

Closed danirabbit closed 3 years ago

danirabbit commented 3 years ago

Describe the bug

The chosen brand colors in your appdata.xml don't pass the contrast check. This means it could be hard for folks to read if they have a vision disability or a display with poor contrast reproduction.

Currently the chosen colors achieve a contrast rating of 2.5:1 which is below WCAG A level

Expected behavior

We usually advise striving for WCAG AA level contrast which is 4.5:1 or higher

Screenshots

This is your current, less than A level contrast:

Screenshot from 2021-08-14 09 21 33

With a minor adjustment you could achieve A level:

Screenshot from 2021-08-14 09 22 21

By taking the text color all the way to white you could get to AA. To go even higher, the background could be slightly darker or more saturated:

Screenshot from 2021-08-14 09 23 14