NHSDigital / data-viz-community-of-practice

The hub for links to NHSD Data Viz resources
14 stars 1 forks source link

Chart colours meeting WCAG #1

Open rogercherry opened 2 months ago

rogercherry commented 2 months ago

Hi,

I had a question about your chart colours. I noticed that the second blue #41B6E6 doesn’t meet the minimum contrast ratio against white to pass WCAG AA standard (https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html). Do we not have to meet this as a minimum for all NHS products? If so should the colour palette be modified to make sure this is met?

magnusMaximus commented 2 months ago

Roger Cherry I am curious. How did you work that out? :-)

rogercherry commented 2 months ago

Put it into this colour contrast checker https://webaim.org/resources/contrastchecker/

SimonMunnsNHSE commented 2 months ago

Hu that's simple.

rogercherry commented 2 months ago

Just prompting this in case anything that needs to be changed to make sure these colours pass WCAG AA standard

davidhardy5-nhs commented 2 weeks ago

This has been noted and will be picked up as soon as the new data viz accessible colours are published thanks!