Common Alt Text Mistakes
You'll learn the most frequent alt text errors that undermine accessibility and how to avoid them.
Even developers who understand alt text's importance often make predictable mistakes. Let's identify the four most common pitfalls so you can steer clear of them.
1. Over-Description
Writing a novel about a simple image overwhelms users. If your alt text exceeds 150 characters or describes every tiny detail, you've gone too far. Screen reader users just want the essential information.
Bad: alt="A woman with brown hair wearing a blue shirt and jeans standing in front of a white brick wall holding a silver laptop computer with a smile on her face"
Good: alt="Woman working on laptop"
2. Keyword Stuffing
Adding SEO keywords to alt text for search rankings creates terrible accessibility. Alt text exists for humans using assistive technology, not search algorithms.
Bad: alt="best coffee beans buy coffee online premium coffee shop coffee delivery"
Good: alt="Freshly roasted coffee beans"
3. Meaningless Filenames
Using filenames or generic phrases like "image" or "photo" provides zero context.
Bad: alt="IMG_4782.jpg" or alt="image"
Good: alt="Golden retriever playing fetch in park"
4. Missing Alt Attributes Entirely
Forgetting alt altogether forces screen readers to read the filename or skip the image entirely—both confusing experiences. Even decorative images need alt="" (empty, not missing).
Bad: <img src="banner.jpg">
Good: <img src="banner.jpg" alt="Summer sale: 50% off">
Key Takeaway: Avoid over-describing images, stuffing keywords, using filenames as alt text, or omitting the alt attribute—keep alt text concise, meaningful, contextual, and always present (even if empty for decorative images).