Make it easier for both search engine bots and people using screen readers to access your content. Here’s how.
In this guide, you will learn about alternative text (alt text): what it is, why it is important for SEO, how to use it correctly, and more!
This is a very practical and to-the-point guide that contains tips and advice you can immediately use to improve your website’s image SEO and accessibility.
Alt text (or alternative text), also known as the alt attribute or the alt tag (which is not technically correct because it is not a tag), is simply a piece of text that describes the image in the HTML code.
The first function of alt text was simply to describe an image that could not be loaded.
Many years ago, when the internet was much slower, alt text would help you know the content of an image that was too heavy to be loaded in your browser.
Today, images rarely fail to load, but if they do, then it is the alt text that you will see in place of an image.
Now, alt text has also started to play a role for both search engine bots and people using screen readers:
Of course, like every element of SEO, it is often misused or, in some cases, even abused.
Let’s now take a closer look at why alt text is important.
The web and websites are a very visual experience. It is hard to find a website without images or graphic elements.
That’s why alt text is very important.
Alt text helps translate the image’s content into words – thus making the image accessible to a wider audience, including people with disabilities and search engine bots that are not clever enough yet to fully understand every image, its context, and its meaning.
Alt text is an important element of on-page SEO optimization.
Proper alt text optimization makes your website stand a better chance of ranking in Google image search.
Yes, alt text is a ranking factor for Google image search.
Depending on your website’s niche and specificity, Google image search traffic may play a huge role in your website’s overall success.
For example, in the case of ecommerce websites, users very often start their search for products with a Google image search instead of typing the product name into the standard Google search.
Without proper image optimization, you may lose a lot of potential traffic and customers.
Visibility in Google image search is very important, but there is an even more important consideration: accessibility.
Fortunately, in recent years, more focus and emphasis has been put on accessibility (i.e., making the web accessible to everyone, including people with disabilities or/and using screen readers).
Suppose alt text of your images actually describes their content instead of – for example – stuffing keywords. In that case, you are helping people who cannot see this image to better understand it and the content of the entire web page.
Let’s say one of your web pages is an SEO audit guide that contains screenshots from various crawling tools.
Would it not be better to describe the content of each screenshot instead of placing the same alt text of “SEO audit” into every image?
Let’s take a look at a few examples.
Finding many good and bad examples of alt text is not difficult. Let me show you a few, sticking to the above example with an SEO audit guide.
So, our example SEO guide contains screenshots from tools, such as Google Search Console and Screaming Frog.
Some good examples of alt text may include:
Tip: It is also a good idea to take care of the name of your file. Using descriptive file names is not a ranking factor, but I recommend this as a good SEO practice.
I’ve also seen many examples of bad alt text use, including keyword stuffing or spamming.
Here is how you can turn the above good examples into bad examples:
As you can see, the above examples do not really provide any information on what these images actually show.
You can also find examples and even more image SEO tips on Google Search Central.
Stuffing keywords in the alt text is not the only mistake you can make.
Here are a few examples of common alt text mistakes:
And finally, here are the tips on how to write correct alt text so that it actually fulfills its purpose:
Now you know all the best practices and common mistakes of alt text. But how do you actually check what’s in the alt text of the images of a website?
You can analyze the alt text in the following ways:
Inspecting an element (right-click and select Inspect when hovering over an image) is a good way to check if a given image has alt text.
However, if you want to check that in bulk, I recommend one of the below two methods.
Install Web Developer Chrome extension.
Next, open the page whose images you want to audit.
Click on Web Developer and navigate to Images > Display Alt Attributes. This way, you can see the content of the alt text of all images on a given web page.
To check the alt text of the images of the entire website, use a crawler like Screaming Frog or Sitebulb.
Crawl the site, navigate to the image report, and review the alt text of all website images.
More resources:
Featured Image: Khosro/Shutterstock
Olga is an SEO consultant at SEOSLY. She is a technical SEO specialist and an SEO auditor with 10+ years …
Get our daily newsletter from SEJ’s Founder Loren Baker about the latest news in the industry!
Subscribe to our daily newsletter to get the latest industry news.
Subscribe to our daily newsletter to get the latest industry news.