"Which filename would you want a screen reader to read aloud in your ear 40 times a day?" It's a slightly absurd question, but it's exactly what happens when a meaningful image is left with alt="image1.jpg" or, worse, no alt text at all. This article is a practical guide to writing alt text that actually helps โ€” not just present, but good.

In short โ€” what this guide covers

  1. Why bad alt text is almost as bad as missing alt text
  2. How to write good alt text
  3. When to leave alt text intentionally empty
  4. What to do with complex charts and diagrams

Why Bad Alt Text Is Almost as Bad as Missing Alt Text

Under WCAG 1.1.1, all non-text content must have a text alternative โ€” but the formal requirement is only half the story. "image1.jpg," "image," or "logo" technically meet the requirement (there's an alt attribute), but they convey no real information. A screen-reader user who hears a string of "image... image... image23.png" is no less frustrated than a sighted user looking at a series of empty frames.

How to Write Good Alt Text

The guiding rule: describe the image's message in the context where it appears, not a literal description of what you see. A photo of people around a table in a team meeting, accompanying an article about collaboration, could be given "Team working together around a table" โ€” not "Photo of people." For a chart or graph, describe the takeaway the chart presents: "Bar chart showing a 40% increase in sales in the third quarter" is significantly better than "Bar chart."

Illustrative diagram Effective vs. ineffective alt text Comparison between generic alt text and precise, descriptive alt text Alt Text: Not Just "Present" โ€” Also "Good" โŒ Not enough Alt: "image1.jpg" A filename means nothing to a user relying on a screen reader โœ… Precise and purposeful Alt: "Bar chart: 40% rise in sales in Q3" Describes the content and message โ€” not just "there's an image" Purely decorative image? Empty Alt "" is better Golden rule: which two or three words would you say to someone on the phone to describe the image?
Golden rule: which two or three words would you say to someone on the phone to describe the image, if they couldn't see it themselves?

When to Leave Alt Text Intentionally Empty

Not every image needs a description. Purely decorative images โ€” graphic dividing lines, background illustrations, icons that just repeat nearby text โ€” are best tagged with alt="" (empty alt text, not missing) so the screen reader skips them entirely. The difference between "missing" and "intentionally empty" is critical: missing sounds like an error or reads out the filename; intentionally empty simply skips over it silently.

๐Ÿ’ก Practical Tip

A quick test: if you deleted the image from the page entirely, would a user who can't see it be missing anything? If not โ€” it's probably decorative and suited to an empty alt.

What to Do with Complex Charts and Diagrams

For a complex data chart, an illustrated comparison table, or an infographic with several layers of information, short alt text isn't enough โ€” there's too much information to convey. The solution: short alt text that describes the general topic, alongside it (in the regular text surrounding the image, not only in the alt attribute) a more detailed description of the important data, or an equivalent data table a screen reader can navigate.

Not Sure Which Alt Text Is Missing or Problematic on Your Site?

Our tool finds images without alt text across every document on your site, and flags them by priority.

Make your documents accessible for free โ†