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)

HTML
<img src="/team.jpg">

The right pattern (copy this)

HTML
<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

Find every accessibility issue on your site in 60 seconds.

Free public scan. No card. AI-generated fixes for every issue we find.