How accessible is your website?Start free check
Guides

Missing alt text: how to find and fix it on your website

Clara BailyPublished 4 min read

Blog cover with the title Missing alt text and a line drawing of a code window with one highlighted line

Key takeaways

  • Missing alt text fails WCAG 1.1.1 Non-text Content, a Level A criterion.
  • Informative images need a short description of what they show. Decorative images need an empty alt attribute, alt="".
  • Linked images describe the destination, not the picture.
  • New uploads bring the problem back, so alt text needs a rule in your CMS and continuous checks.

Missing alt text means an image has no alt attribute, so screen readers have nothing to say about it. Some announce the file name instead, like "IMG underscore 4021 dot jpg", which is worse than silence. The fix is simple: add a short description of what the image shows, or alt="" if the image is purely decorative.

It's also one of the most frequent accessibility failures on the web. WebAIM's yearly analysis of one million home pages finds missing alt text near the top of the list every single year.

Why it matters

Missing alt text fails WCAG 1.1.1 Non-text Content, a Level A criterion. Every accessibility law that points to WCAG, from the European Accessibility Act to the ADA, includes it.

There's a business side too. A product photo without alt text means a blind customer can't tell the blue sneaker from the red one. A linked logo without alt text is an unnamed link that goes nowhere a screen reader can explain. And search engines use alt text to understand images, so it pays off in image search as well.

Step 1: find every image without alt text

You have three options, from quick to complete:

  • Browser check. Right-click an image, choose "Inspect" and look for the alt attribute. Good for one page, slow for a site.
  • Automated scan. A WCAG scan lists every image without alt text, page by page. This is the fast way to see the scale.
  • CMS media library. WordPress, Shopify and most other CMSs show an alt text field per image. Filter for empty ones where the CMS allows it.

Step 2: decide what each image needs

Not every image needs a description. The W3C's alt decision tree boils down to four cases:

Image type What to write Example
Informative image A short description of what it shows alt="Blue running shoe, side view"
Linked image or icon button Where the link goes or what the button does alt="Home" on the logo
Decorative image An empty alt, so screen readers skip it alt=""
Complex image (chart, diagram) A short alt plus the full data in text nearby alt="Sales chart, details in the table below"

The empty alt="" is important. Leaving the attribute out entirely is a failure. Setting it empty on purpose is correct for decoration.

Step 3: write alt text that works

Good alt text follows a few simple rules:

Do
  • Describe what matters in this context, in one short sentence.
  • Put the most important information first.
  • Include text that appears in the image.
  • Keep it under about 125 characters when you can.
Don't
  • Start with "image of" or "picture of". Screen readers already say it's an image.
  • Stuff keywords. Alt text is for people first.
  • Repeat the caption word for word.
  • Use the file name.

Step 4: keep it fixed

Here's the part guides skip. You fix 300 images today, and next week the marketing team uploads 40 new ones. Alt text breaks again with every upload, every new product and every blog post.

Two things keep it fixed: make the alt text field required in your CMS where possible, and check new content automatically as it goes live.

How allyWay solves missing alt text

allyWay finds every image without alt text on your site and fixes it automatically with AI, directly on the live page. You add one line of code or install the plugin, and allyWay is live in about 2 minutes.

From then on, allyWay checks every new page and every new upload continuously, so missing alt text doesn't come back. You see every change in the dashboard and can switch any of them off. Agencies run it under their own brand for every client site.

Is missing alt text a serious accessibility error?

Yes. It fails WCAG 1.1.1, a Level A criterion, and leaves screen reader users without the information the image carries.

Does missing alt text affect SEO?

Yes. Search engines use alt text to understand images, so descriptive alt text supports image search and the relevance of the page.

Can I fix missing alt text without a developer?

Yes. In most CMSs, alt text is a field in the media library or image settings. allyWay also fixes missing alt text automatically on the live site.

Should every image have alt text?

Every image needs an alt attribute. Informative images get a description, decorative images get an empty one, alt="".

Share this article

Sources

  1. W3C: Images tutorial
  2. W3C: An alt decision tree
  3. W3C: Understanding Success Criterion 1.1.1
  4. WebAIM Million report

About the author

Clara Baily

Accessibility specialist

Clara Baily has been on the allyWay team from the start. She has looked after every accessibility product the team has built, including OneTap, which runs on more than 80,000 websites, AltPilot and the internal accessibility checker. She writes about WCAG, accessibility laws and fixes that work on real websites.

Let AI Handle Website Accessibility

Built in Europe. Set up in 2 minutes, no developer needed. Put website accessibility on autopilot with AI-powered fixes and automated monitoring.

  1. 1Choose your plan
  2. 2Install in 2 min
  3. 3AI fixes your website
  4. Done