Images · Alt text

Image missing an alt attribute

An image on this page has no alt attribute at all, so screen readers may read out its file name and search engines get no description.

How this page is built

The image below has no alt attribute. It is not empty: the attribute is missing completely.

Why it matters

Every image needs an alt attribute. Without one, screen readers often read out the file name, which is rarely helpful, and search engines have no text to describe the image.

A missing alt attribute is also invalid HTML, and it fails the accessibility guidelines that many organisations must meet.

How to check it

Crawl tools report images with a missing alt attribute, separately from images with empty alt text. Accessibility checkers flag them too. View the source and look for img tags with no alt at all.

How to fix it

Add an alt attribute to every image. Describe images that carry meaning, and use alt=“” for images that are purely decorative, so screen readers skip them.

Back to all tests