Images must have alternative text
Every image that carries information needs a short text alternative, so people who cannot see it get the same information. Purely decorative images should be hidden from assistive technology instead.
| Rule ID | image-alt |
|---|---|
| Impact | Critical |
| Success criterion | 1.1.1 Non-text Content · A |
| Standards | WCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549 |
| Fixed with a text: from the page or written by AI |
Example
<img src="sofa.jpg">A screen reader announces “sofa dot jpg, image”.
<img src="sofa.jpg" alt="Grey three-seat linen sofa">A screen reader announces “Grey three-seat linen sofa, image”.
Why it matters
Blind and deafblind visitors use screen readers and braille displays, which can only pass on what an image says through its text alternative. Without one they hear a file name such as “IMG_2041.jpg”, or the image is skipped silently, and they miss whatever it shows: a product, a chart, a button drawn as an icon.
The same text appears when an image fails to load, and search engines use it to understand the page and to rank it in image search.
How to fix it
Choose the technique by what the image does on the page.
Informative image. Describe what it shows in one short sentence:
<img src="chart.png" alt="Sales grew 40% from January to June">
Image inside a link or button. Describe where the link goes or what the button does, not the picture:
<a href="/"><img src="logo.svg" alt="Readabler home"></a>
No alt attribute possible. Name the element with aria-label, or point aria-labelledby at visible text.
Decorative image. Use an empty alt="", so screen readers skip it:
<img src="divider.svg" alt="">
Checklist
- Describe informative images in one short sentence.
- For images in links or buttons, describe the destination or action.
- Use alt="" for decoration, never leave alt out.
- Leave out “image of” and “picture of”: screen readers already say it.
How the check works
The check looks at every <img> element. It passes when the image has an alt attribute (empty is allowed for decoration), a non-empty aria-label, an aria-labelledby that points to text, or role="none" / role="presentation". Otherwise the image is reported.
Resources
- Understanding 1.1.1 Non-text Content W3C
- W3C ACT rule 23a2a8 W3C ACT
- An alt decision tree W3C WAI
- Images tutorial W3C WAI
Updated October 27, 2026