Fix · Critical · ships with most lawsuits
How to fix: missing alt text on images
Screen readers announce "graphic" or read out the file path. Images convey no meaning. Every <img> must have an alt attribute. Use alt="" for decorative images, descriptive text for informative ones.
- WCAG references
- 1.1.1
- Severity
- Critical
What it looks like in the wild
Screen readers announce "graphic" or read out the file path. Images convey no meaning.
The screen-reader user, keyboard user, or low-vision user encountering this issue does not get an error message. The page just stops working for them. Which is why this kind of bug rarely shows up in your error tracker; it shows up in support tickets, lawsuits, and abandoned conversions.
Why it fails WCAG
Every <img> must have an alt attribute. Use alt="" for decorative images, descriptive text for informative ones.
Map this back to 1.1.1 when you log the bug. Auditors and procurement teams expect that mapping; "broken" is not enough context.
The wrong pattern (avoid)
<img src="/team.jpg">The right pattern (copy this)
<img src="/team.jpg" alt="Five product engineers reviewing a design on a screen">
<!-- Decorative: -->
<img src="/divider.svg" alt="">Notes from real audits
Filename as alt is worse than no alt — it confuses screen readers.
For complex charts, add a longer text alternative nearby (figcaption or aria-describedby).
CSS background-images with meaning need an <img> equivalent or text in the DOM.
Related fixes
How to fix: low color contrast
1.4.3, 1.4.11
How to fix: form fields without labels
3.3.2, 1.3.1, 4.1.2
How to fix: missing H1 / wrong heading order
2.4.6, 1.3.1
How to fix: missing skip-to-main-content link
2.4.1
How to fix: keyboard trap in modal or widget
2.1.2
How to fix: missing lang attribute on <html>
3.1.1
Find every accessibility issue on your site in 60 seconds.
Free public scan. No card. AI-generated fixes for every issue we find.