A chart is a complex image: a short alt text can say what it shows, but it cannot carry every number. The accessible pattern is a short alt text with the key message plus a full data table beside the chart, so a screen reader user gets the same information as a sighted reader.
Why this needs its own check
WebAIM’s alternative text guide says alternative text should represent the content and function of the image, and that complex images such as graphs need a full-text equivalent of the data, provided in context or on a separate linked page. A short alt text plus a visible data table is the pattern WebAIM describes for charts.
What you need before you start
- The chart image and its data
- A way to add a data table beside the chart
- A screen reader or accessibility inspector to test the result
Step 1 – Write the short alt text first
Sum up the chart’s message in one sentence, such as Bar chart showing sales rising from 120 to 180 units between January and June. Put that in the alt attribute and stop there; do not try to list every value.
Step 2 – Build the full data table
Put every data point in a real table with headers, beside or below the chart, so the numbers are available to everyone. Link the table from the chart caption where the chart sits far from its table.
Step 3 – Test with a screen reader
Listen to the chart as a screen reader announces it: the alt text first, then the table. If the numbers are only in the image, or the table is an image too, mark it as a failure.
Worked example
Practice check: a fictional Harbour Light Bakery sales chart
The example below is fictional. Harbour Light Bakery is an invented business used only as a practice case. No real customer, page, or product is shown. Treat it as a practice case, not as evidence about any real business.
| Part | What it should be | As shown | Result |
|---|---|---|---|
| Alt text message | One sentence with the trend | Sales rose from 120 to 180 units, January to June | Pass |
| January value in table | 120 units in the table | 120 units in the table | Pass |
| June value in table | 180 units in the table | 180 units in the table | Pass |
| March value in table | 150 units in the table | March value missing from the table | Fail – March value missing |
Only 3 of the 4 checks pass: the alt text and the January and June values. The one failure is the March value, missing from the data table.
What to do when something is wrong
Add the missing March row to the data table and check every month against the chart source data. Keep the alt text short and let the table carry the numbers.
Expected result. We checked the WebAIM alternative text guide listed in Sources. We did not test a live Harbour Light Bakery chart. UNTESTED: no screen reader test was run on a real chart; the practice table shows the expected result pattern for a chart with one missing data row. The sales figures 120, 150, and 180 are fictional practice values.
Limits
- This check covers charts with numeric data only. It does not cover diagrams, flowcharts, or maps, which need different long-description patterns.
Sources
- WebAIM – Alternative Text (checked 2026-11-29)
- WCAG 2.2 Checklist: All 55 Level A and AA Criteria (checked 2026-11-29)
