Blog / Development
Accessible charts in React: a practical checklist
A chart is an image of data, so people who cannot see it, or cannot tell its colours apart, need the data another way. Here is a short checklist that covers most of it.
By Abdullah NomanNovember 30, 20263 min read

Short answer: give every chart a short text alternative that states its main point, offer the underlying numbers as a table, never use colour as the only way to tell series apart, keep labels readable, respect reduced-motion settings, and make sure tooltips work with touch as well as a mouse.
What should the text alternative say?
The point of the chart, not its shape. "Revenue grew every month this quarter, from $62K to $84K" helps; "Line chart with 12 points" does not. On an SVG, use role="img" with an aria-label, or put the sentence in visible text next to the chart, which helps everyone.
Why add a data table?
Screen reader users and anyone who needs exact values can read a table row by row. A "Show data" toggle under the chart, or a table in a collapsible section, keeps the layout clean.
How do you avoid relying on colour?
- Use a palette checked for colour-blind separation.
- Label series directly at the end of lines where possible.
- Keep the legend in the same order as the series appear.
- For deltas, pair red and green with arrows or signs.
What about animation?
Entry animations are fine as polish, but switch them off when the operating system asks for reduced motion:
@media (prefers-reduced-motion: reduce) {
.ch * { animation: none; }
}
Do tooltips work on touch screens?
They should. Pointer events fire for touch and pen as well as mouse, so a tooltip driven by onPointerMove appears when someone taps a mark. Make sure it does not hide the mark itself, and never put information only in a tooltip.
A quick checklist
- Text alternative with the main point.
- Data available as a table.
- Colour plus labels, shapes or order.
- Readable label size and contrast in light and dark.
- Reduced motion respected.
- Tooltips work with touch; key values also appear as text.
Liniqo Charts covers several of these for you: each chart's SVG has role="img" and a label, the palette is checked for colour-blind separation in both themes, animations stop under reduced motion, and tooltips use pointer events. The text summary and data table are yours to add, because only you know the point of your chart.
Questions
How do I make an SVG chart accessible?
Add role="img" and an aria-label that states the main point, and provide the data as a table for exact values.
Are charts accessible to screen readers?
Only if you give them a text alternative or a table. The drawn shapes themselves carry no meaning for a screen reader.
What colours are best for colour-blind users in charts?
A palette checked for separation under common colour-vision deficiencies, combined with labels or shapes so colour is not the only signal.
Should chart animations respect reduced motion?
Yes. Turn off entry and looping animations when prefers-reduced-motion is set.


