Overview
Images must have text alternatives that describe the content or function of the image.
Alt text is the foundation of an accessible website. When a screen reader hits an image with no alt attribute, it often reads the file name aloud (“IMG_4032.jpg”) or skips the image entirely, leaving blind and low-vision users with no idea what’s there. Missing alt text is the single most common WCAG failure on the web—flagged on roughly half of all home pages in WebAIM’s annual analysis—and it’s frequently cited in ADA lawsuits precisely because it’s so easy to detect and prove.
The Problem
This pattern is inaccessible — avoid it.
The Fix
Use this accessible pattern instead.
Step-by-step
Find all <img> elements on the page.
Add an alt attribute to every <img>.
For decorative images (icons, spacers), use alt="" (empty string, not missing).
For informative images, write a concise description of what the image conveys.
For images that contain text, include that text in the alt value.
Common Mistakes
Omitting the alt attribute entirely instead of using alt="" for decorative images.
Stuffing keywords into alt text for SEO instead of describing the image.
Writing “image of…” or “photo of…”—screen readers already announce it as an image.
Leaving the CMS or camera file name as the alt value.
How to Test for It
Run an automated scan (ADAGuard, axe, WAVE)—missing alt is reliably caught.
Disable images in your browser and check the page still makes sense.
Use a screen reader (VoiceOver, NVDA) and listen as it reaches each image.
Framework Notes
How to apply this fix in your stack.