An AI-generated chart that tells its series apart only by colour fails for readers who cannot distinguish those colours. WCAG states that colour is not used as the only visual means of conveying information, and it lists using colour and pattern together as a sufficient technique for images. The W3C images tutorial adds that a long description should cover the sequence of colours and the relative heights of columns in a bar chart. Check the chart in greyscale: if the series merge, the chart needs patterns, labels or shapes as well as colour.
What you need
- The AI-generated chart image
- The list of series the chart shows
- A greyscale preview, for example a print preview or a filter
Step 1: View the chart in greyscale
Convert the chart to greyscale or print it in black and white. This removes colour entirely and shows what a reader who cannot distinguish the colours will see.
Step 2: Identify each series without colour
For each series, check whether it can be told apart by its pattern, its label, its shape or its position. If two series differ only by colour, mark the chart as failing.
Step 3: Add a second encoding and re-check
Add a distinct pattern, a direct label, or a different marker shape to each series, then view it in greyscale again. Pass the chart only when every series is identifiable without colour.
Worked example: synthetic colour-only check of one bar chart
The table below is a synthetic example. It shows the expected result of checking one chart with three series; no chart was published.
| Series | Colour | Pattern or label | Greyscale? |
|---|---|---|---|
| Sales 2025 | Blue | Solid fill, labelled | Yes |
| Sales 2026 | Green | Diagonal stripes, labelled | Yes |
| Target | Red | No pattern, no label | No |
Expected result (UNTESTED). 2 of 3 series are identifiable in greyscale, and the Target series fails because it differs only by colour, so it needs a pattern or a direct label. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- A pattern that is too fine can disappear at small sizes or in print, so check the pattern at the size it will be shown.
- Greyscale is a proxy, not a full simulation of colour vision deficiency; check with a colour-blindness simulator as well.
- Direct labels beat patterns for clarity, but they need space, so check the labels do not overlap.
- This check covers the chart image; the underlying data still needs a text alternative or a data table.
