Image elements do not have [alt] attributes

In plain wordsImages have a text description.

People who cannot see an image hear its text description instead. Search engines read it too. An image without one is a blank to both.

  • Accessibility basics
  • 4 of 148 points
  • You can fix this yourself

What it means

Alt text is a short description attached to an image. People who cannot see the image hear it read out by a screen reader. It also shows when an image fails to load, and search engines read it to understand the picture.

Without an alt attribute, some screen readers announce the file name instead, such as "IMG underscore 4032 dot jpg". Our rule passes when every image has the attribute. A purely decorative image should have an empty one, which tells screen readers to skip it; role="presentation" does the same. Images hidden from screen readers are left out, and an image named by aria-label or title passes.

What causes it

  • Images were uploaded without filling in the description field.
  • A theme or a builder writes image tags without the attribute.
  • Icons and decorations were added as plain images.

How to fix it

  1. Add a short alt text to every image that carries meaning.
  2. Give purely decorative images an empty alt (alt="") so screen readers skip them.
Describe what matters in the picture. For decoration, leave it empty but present.
Before
<img src="IMG_4032.jpg">
After
<img src="IMG_4032.jpg" alt="Oak dining table with six chairs">
<img src="divider.png" alt="">

On your platform

WordPress
Each image in the media library has an "Alternative text" field.
Shopify
Click an image in a product and choose "Add alt text".
Wix, Squarespace, Webflow
Image settings have an alt text or description field.

Check it yourself

Right-click an image, choose Inspect and look for an alt attribute.

Or run a free audit: it checks this and 53 other things on your page in about a minute, and shows the proof for each one.

How we test it

What we look at
Every image on the page. Tracking pixels and images hidden from screen readers are left out.
It passes when
Each image has an alt attribute. An empty alt, or role="presentation", is fine for decoration. An image named by aria-label or title passes too.
What it is worth
4 of 148 points in rule book 0.5, in Accessibility basics. A rule that cannot be checked on a page counts neither for nor against it.

Questions

How long should alt text be?

A short phrase or one sentence. Say what the image shows, not "image of".

Should I put keywords in it?

Describe the image honestly. If the right words appear, good. A list of keywords helps nobody and is noise for a screen reader.

Sources

Where to read more, and where to check what this page says. Opened and read on 20 and 24 November 2026.

Also useful: what a good website score is, how we compare with PageSpeed Insights and the full rule book.

Does your website have this problem?

A free audit checks this and 53 other things, and shows the proof. About a minute, no email needed.