Accessible Data Visualizations and Charts
A chart communicates at a glance, but only to people who can see it and read its colors. Screen reader users, people with color vision deficiency, and people with low vision may get nothing from a chart unless you plan for them. The fixes are simple and improve charts for everyone.
Start with the message
Before drawing a chart, decide what it should tell the reader. State that message in the heading or a short caption: "Online orders doubled between March and June." Then the chart supports a point the reader already has.
Provide a text alternative
A chart image needs alt text, but a short description is rarely enough for complex data. Use two layers:
- Short alt text that names the chart and its main takeaway
- A longer description or a data table nearby with the underlying numbers
See alt text best practices and accessible tables. A table also helps sighted users who want exact values.
Do not rely on color alone
WCAG says color should not be the only way to convey information (1.4.1). In a line chart with five colored lines:
- Label lines directly at their ends instead of using a separate legend
- Use different line styles, markers, or patterns
- For bar charts, add value labels or pattern fills
Choose palettes that stay distinguishable for color vision deficiency. See color blindness and web design.
Check contrast
Elements needed to understand the graphic, such as bars, lines, and axis lines, should meet a 3:1 contrast ratio against their background (1.4.11). Text labels need 4.5:1, or 3:1 for large text. See color contrast for accessible websites.
Keep it simple
- Use clear chart types for the question: lines for trends, bars for comparisons
- Remove clutter, heavy gridlines, and decorative effects, including unnecessary 3D
- Write plain axis labels with units
- Make text large enough and avoid text rotated at awkward angles
Interactive charts
If hovering reveals values, keyboard and touch users miss them. Make data points reachable by keyboard, show the same information on focus, and avoid hover-only content. Provide a table as an alternative to complex interactions. Charts that use a canvas element need additional work for assistive technology, so consider SVG or a data table.
Charts in reports and PDFs
Carry the same practices into downloads. See accessible PDFs and downloads.
Responsive behavior
Charts should work when zoomed or on small screens. Avoid text so small it becomes unreadable, and let the chart reflow or scroll sensibly. See text spacing and zoom for low vision users.
Test it
View the chart in grayscale, zoomed in, and with a screen reader. Ask whether the takeaway is still clear. See accessibility testing tools for small sites.
Common mistakes
- Charts as images with no alt text
- Color-only legends
- Hover-only tooltips
- Chart junk that hides the point
Motion and depth effects bring a different set of risks. Read accessible 3D, parallax, and motion effects.