When should an image use empty alternative text?
Quick answer
Use empty alternative text (alt="") when an image adds no information in context or its relevant information is already conveyed nearby. If the image contributes information that nearby text does not provide, don’t treat it as decorative: use alternative text that conveys that contribution. Don’t omit the alt attribute as a substitute for an empty value; some screen readers may announce the filename instead. [S1]
The question, the details, the next step.
A practical checklist
Review the image where it appears, not in isolation.
Ask what information would be lost if the image were ignored.
Check whether nearby text already communicates the image’s relevant information.
Use
alt=""for decorative or redundant images.For informative images, convey the contribution that surrounding text does not provide.
Do not omit the
altattribute as a replacement for an intentional empty value.
A few more useful answers
Does a caption automatically make an image redundant?
No. Compare the caption with the information the image contributes. If the caption already conveys the relevant point, empty alt text may avoid repetition; if the image adds information, account for that difference. [S1]
What should I do if I’m unsure whether an image adds information?
Review it in context and identify what a reader would miss if the image were ignored. Purpose in context—not appearance alone—is central to the decision. [S1]
Sources
References used for this guide.
- [S1] Decorative Images — W3C Web Accessibility Initiative w3.org · Checked
