Turn one static program chart into a short text alternative and a table readers can use without the chart. Give the prompt the chart’s labels, values, units, source locator, and evidence limits. Check the result with the person who owns the data and the person editing the web page.
Draft Alt Text for a Program Chart
Draft chart alt text and a matching table from verified data, flag missing values, and check both.
Source and Scope
- Complex Images
Updated April 8, 2026
Overview, Long descriptions, and Example 1, especially approaches 2 and 3
Supports a short text alternative and an accessible longer equivalent for an informative chart, including values and relevant chart presentation. Supports providing detailed text near the image. The example's exact copy and ordered table are original, and usable reading order is a check the reader must perform.
- Web Content Accessibility Guidelines (WCAG) 2.2
W3C Recommendation, December 12, 2024
Success Criterion 1.1.1, Non-text Content, opening sentence
Supports an equivalent-purpose text alternative for applicable web non-text content. This task draft is limited to static informative charts and supplies no conformance result.
Full Guidance and Sources
What to supply
Use a text extract of the chart details and source data. Ask where the text table will appear before drafting a reference to its location. Keep the label for an unreported value as it appears on the chart. Keep confidential source material out of the tool. To customize this prompt, paste the text after each label into its matching field. For the general prompt and the two practice guides, use all three complete labeled blocks.
Fictional practice chart
Chart context: A static web bar chart for readers of a program update shows completed workshop sessions at one site from April to June 2027. Its categories are months and its unit is completed workshop sessions. The text table will appear immediately after the chart.
Chart data: PE-4, rows 1 to 3. April: 4. May: Not reported, shown as a labeled gap. June: 6.
Evidence limits: The figures count sessions at one site. The source gives no participant counts or explanation for the figures.
Expected draft
Short alt text
Bar chart of completed workshop sessions at one site, April to June 2027. A text table follows.
Draft text table
Completed workshop sessions at one site, April to June 2027
| Month | Completed workshop sessions |
|---|---|
| April | 4 |
| May | Not reported |
| June | 6 |
Internal check
Check the draft against PE-4, rows 1 to 3: April 4, May not reported, June 6. Confirm that these figures count completed sessions at one site and that the text table follows the chart in reading order.
Before publication
Ask the data owner to compare all labels, values, units, and gaps with the source. Ask the web editor to use the publishing system's table caption and column headers. Verify that the chart directs readers to the table at the stated point in the reading order and that the text and table convey the needed information with the chart hidden. Fix discrepancies before publication. Keep the verification note internal. The draft is one part of accessibility review for the published page. This example supplies text for an informative chart. If color, a symbol, scale, or the arrangement conveys other information readers need, add that verified information to the longer text before publishing.
Related Prompts
Related Guides
- Build a Claude Code Skill for Chart Alt Text
Save reusable instructions for drafting chart alt text and a matching table from verified data, then check them against a fictional practice chart.
- Package a Chart Alt Text Skill as a Plugin
Put one chart alt text skill in a Claude Code plugin and compare the package’s draft with the same inputs and review checklist.
