What Does "Alt text empty / missing" Mean?

Images on this site have no alt text, which is used for accessibility purposes and helps search engines understand the content in the image.

A typical image tag will look like this:

<img src="bagel.jpg" alt="Authentic New York bagels on display in a Brooklyn deli">

The src attribute specifies the location of the file, while the alt attribute (also known as "alt text") is a short description of the content in the image. The image links are either missing the alt attribute or have been left empty.

Why It's Important

While alt text is technically optional, there are many reasons why it's highly recommended to include it on all images on your site:

  • Since computers cannot see images the same way humans do, they rely on alt text to understand what the image is about. This can also help them appear in image search (such as Google images).

  • Visually impaired visitors will not be able to view images using a screen reader. They too rely on alt text to understand the content in images. Providing alt text for images in an important piece of web accessibility.

  • If the image is not loaded for some reason (such as a broken link or slow connection), most web browsers will show the alt text in place of the image.

How To Fix

Locate the <img> tag for each Image URL and write an alt text for it. Some good principles to keep in mind when writing alt text:

  • Be descriptive. Don't just use one or two words to say what the image is of. Be specific and think of it as describing the image to someone who cannot see it.

  • Keep it to 125 characters or less. While 1-2 words are not descriptive enough in most cases, don't write a novel. Since screen readers generally only show the first 125 characters of an alt text, this is a good target for maximum length. Use the longdesc attribute for longer descriptions if needed.

  • Use keywords. This can help your image be found in image search or even help the page rank for targeted keywords, too.

  • Don't overdo it with keywords. Keyword stuffing is never a good idea.

Did this answer your question?