How do I make an image understandable with appropriate alternative text?
Quick answer
Ask what a reader would miss if the image were unavailable, considering the surrounding text. Write a short replacement that communicates the image’s relevant purpose or information; don’t simply announce that it is an image or repeat what the page already says. For example, if a chart adds a comparison, describe that comparison rather than its colors or appearance. The right wording depends on the image’s context.
The question, the details, the next step.
A practical checklist
Read the image in the context of its heading, caption, and nearby text.
Ask what information a reader would lose if the image were unavailable.
Identify the image’s purpose on this page before drafting its description.
State the relevant information clearly and concisely; don’t merely announce the image.
Remove details already conveyed nearby, and check that names or values are known.
Re-read the description with the surrounding content to check for gaps or repetition.
A few more useful answers
Should alternative text describe every visible detail?
No. Focus on what the image communicates in its context, not a complete inventory of everything visible. Include details only when they help convey the image’s relevant information.
Is there one correct length for alternative text?
The guidance calls for a clear, concise replacement, but does not set a universal word count. Use enough detail to convey the image’s contribution without repeating surrounding content.
What if I can’t tell what the image is meant to communicate?
Check its role on the page or ask its author for context. Don’t guess at a person’s identity, a chart’s values, or the intended meaning.
Sources
References used for this guide.
- [S1] The HTML image element: Writing alternative descriptions developer.mozilla.org · Checked
- [S2] HTML images: Choosing useful alternative text developer.mozilla.org · Checked
