We know that Google will count alternative text found in Image Alt Text when ranking pages:
QUOTE: “Yes… so the alt text is essentially shown when the images are turned off in most browsers so that’s something that we would count as part of the on-page text.” John Mueller, Google 2017
…so how many words will Google count as part of ALT Text on a web page?
It is a tricky question, because:
QUOTE: “When choosing alt text, focus on creating useful, information-rich content that uses keywords appropriately and is in context of the content of the page. Avoid filling alt attributes with keywords (keyword stuffing) as it results in a negative user experience and may cause your site to be seen as spam.” Image Best Practices, Google, 2020
And isn’t ALT text more useful web accessibility than search engine optimisation?
QUOTE: “I have spent hours in usability testing labs studying how people who use screen readers react to alt text. Blind screenreader users have to plow through a lot of information on a page to find what they are looking for. Your job is to make it easier for them. They “skim” a page or document mostly by reading lists of interactive elements or headings. Users that only want alt text if it is important to the information. Try to make it less than 80 characters. If the image is relevant to the info on the page, then briefly describe it in alt text or the appropriate aria- attribute.” Jeanne Spellman, Member of WCAG Working Group 2013
Best Practice Alt Tag Usage
Keep ALT Attribute text on web pages to between 80-125 characters maximum for accessibility purposes. Expect Google to count a maximum of 16 words (approximately 125+ characters) as part of your ALT text that will be a signal used to rank your page for a relevant query.
Read on to see why….
How To SEO ALT Text
- Googlebot is blind, too, like 2 million people in the UK
- Be descriptive and concise as possible. Avoid keyword stuffing for search engines
- Accessibility practitioners recommend a maximum of 80 characters, so use common sense and be succinct with ALT text
- JAWS, a popular screen reader, breaks ALT text into 125 character “chunks” for visually impaired users
- Avoid optimising ALT text “for search engines” as manipulating Alt Attribute text for SEO benefits often leads to accessibility and ranking problems
- Google will count alternative text found in Image Alt Text when ranking pages and that Alt text is counted as part of the on-page text
- ALT text is a very light ranking signal compared to other stronger signals, but the text in ALT text is very useful for some longtail searches
- ALT attribute text is meant to describe images for accessibility purposes, not just search engine optimisation
- A text equivalent for every image should be provided for visually impaired visitors.
- Every image on a page should have an ALT attribute. Failure to include ALT tags with images represents a Priority 1 WCAG error and would mean your website would not be able to comply with basic UK DDA and SECTION 508 (in the US) recommendations
- Use empty alt tags – (
alt="") (NULL ALT) for spacer images or graphic elements on a page used only for design purposes-
- Alt text helps Google understand what an image is about and as Googlebot does not see images directly, Google uses information provided in the “alt” attribute
- Google will count 16 words maximum as part of image ALT attribute Text (use Longdesc for complex images – although this is depracted in HTML5)
- Use ALT attribute text for descriptive text that helps visitors. Alt attribute should be used to describe the image.
- Don’t repeat text already on the page, making the ALT text redundant or superfluous
- Don’t use “image of ..” or “graphic of ..” to describe the image in ALT text
- If the content of any image is already presented in context, (
alt="") – a null value – is appropriate
- Don’t use ALT Attribute text alongside aria- attribute
- Google is on record as labeling missing ALT text and Keyword stuffing as “bad”
Before optimising ALT text for SEO purposes, consider this:
QUOTE: “Today, my dad cried over the phone, he wanted one week where he could use his computer without my help. He’s blind. Each inaccessible webpage tells him, “you aren’t welcome in this world.” If you don’t know whether your website or app is accessible: it’s not. Start learning.” Twitter user 2020
QUOTE: “There are 2,140,000 estimated total number of people living with sight loss (2020) in the UK” Site Loss Data Tool, RNIB 2020
Test Results: How Many Words Will Google Count As ALT Text?
It would appear that Google will count 16 words as part of image ALT attribute Text, much the same way it has worked since I first tracked it back in 2011:
Google operates much like it did in these test observations from the last few years:
If you are interested in the actual test, I ran a simple test using ALT attributes to determine how many words I could use in IMAGE ALT text that Google would pick up.
The basic premise was; take an ALT tag, and put a lot of nonsense keywords in it, and see if the page will return in Google for all (or any) the keywords. I confirmed with a similar test most search engines do count keywords in ALT text long ago.
The following images on this page are observations from some testing I did back in 2011.
Usefulness? I was thinking squarely from an accessibility point of view, not spamming search engines.
I think spamming ALT text can get you into trouble from what I have seen – probably depends on the site, and page, in question – or rather, the intent, as Google perceives it.
Yes, you can use other alternatives to describe complex images, but how many words will google count in the ALT tag?
Is there a limit?
Here is the ALT text I tested with way back a few years ago (2011) and the results in SERPs:
I revisited this test in 2015, 2017 and 2018 to see if:
- Google still treated ALT text in this fashion and
- if indeed it was 16 words and not limited by characters.
While the way Google creates and publishes SERPs is evidently different these days – you can just about still determine that, under the hood, Google still seems to process Alt attribute text in a similar fashion all these years :
…and it seems to be the case today that this not changed that much.
- Google seemed to count the first 16 words in the ALT tag text – of the image on this current page – in this instance – and interestingly in the snippet, Google uses it does seem to completely cut off the rest of the ALT and from the 17th word
- Having 16 words to work with might prove very useful if you are using ALT tags to describe more complex images. There is potentially plenty of available space to describe images properly for accessibility purposes AND SEO impact.
- Do not spam ALT text!
Test It Yourself
I have this kind of data on a lot of SEO factors. On page SEO tests are fun but you should always carry out experiments on your own site to validate any claim you read about online.
Remember, too, that this is just one example of one page I can observe and show ‘working a particular way’.
ALSO – This is a live running test – results might differ when Google caches the page, for instance.
How Many Characters Will JAWS Read Aloud As ALT Text?
JAWS is one of the most popular screen-readers for blind users:
QUOTE: “JAWS 6.0 – reads ALT text in 125 character chunks (excluding spaces). If ALT text exceeds 125 characters, it divides it into multiple graphics, each having no more than 125 characters of ALT text, beginning where the previous graphic left off.” Terrill Thompson, University of Washington, 2020
That is a limit worth recording.
Alt Text has SEO And Accessibility Benefits
QUOTE: “If the image is essential to the info on the page, then describe the info on visually on the page as a figure or a regular text paragraphs. Sighted users also use screen readers, often for reading disabilities. If your image or graph is essential, everyone benefits from a text description. Especially in the education sector, it is valuable for all students to get equivalent information.” Jeanne Spellman, Member of WCAG Working Group 2013
ALT attribute text is a pillar of accessible website design and also ethical search engine optimisation. Failure to include ALT tags with images represents a Priority 1 WCAG error and would mean your website would not be able to comply with basic UK DDA and SECTION 508 (in the US) recommendations – if anyone cares about that.
It IS easy to forget about them, though.
Importantly, a text equivalent for every non-decorative image should be provided for visually impaired visitors, for instance. (e.g., via “alt”).
Non-text elements include: images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, ASCII art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video.
The text is considered accessible to almost all users since it may be handled by screen readers, non-visual browsers, and braille readers. When a text equivalent is presented to the user, it fulfils a substantially similar function (to the extent possible) as the original content. For simple content, a text equivalent may need only describe the function or purpose of the content. For complex content (charts, graphs, etc.), the text equivalent may be longer and include descriptive information.
The non-text element does not mean all visible elements. The types of non-text elements requiring identification is limited to those images that provide information required for comprehension of content or to facilitate navigation.
- When an image indicates a navigational action such as “move to the next screen” or “go back to the top of the page,” the image must be accompanied by actual text that states the purpose of the image, in other words, what the image is telling you to do.
- When an image is used to represent page content, the image must have a text description accompanying it that explains the meaning of the image.
- HTML allows content developers to specify text equivalents through attributes (“alt” or “longdesc”) or in element content (the OBJECT element).
<IMG src="filename.gif" alt="Place alt-text here">
A very useful tip is to include empty alt tags (NULL ALT) for spacer images or graphic elements on a page used only for design purposes.
<IMG src="filename.gif" alt="">
This process helps assistive software ignore these elements when ‘reading’ out the contents of a page instead of reading out “image, image, image” etc.
Google SEO: Image Alt Tags Best Practices
QUOTE: “Adding an alt tag is very easy to do and you should pretty much do it on all of your images. It helps your accessibility and it can help us understand what’s going on in your image.” Matt Cutts, Google, 2007
Text in Alt tags are ‘counted’ by Google (and Bing) on a page level, but I would be careful over-emphasising them – as with every element of SEO.
In the past, I’ve witnessed websites penalised for spamming invisible elements on a page. Don’t do it.
ALT tags are significant and I think an important challenge to get right.
In the past, where it was relevant and time permitted, I aimed to put the main focus keyword of the page in an ALT once when addressing a page. Just enough to make a page ‘relevant’. These days I focus more on adding text very relevant to the image itself.
I wouldn’t optimise your ALT tags (or rather, Alt Attributes) JUST for Google, though.
Use ALT attribute text for descriptive text that helps visitors – and keep them unique where possible, like you must do with your titles and meta descriptions. Variation = traffic.
If you are too lazy to address image ALT tags on your page, at least, use a blank ALT (or NULL value) so people with screen readers can enjoy your page without unnecessary interruption, too.
What Is The Best Way To Optimise Alt Text For Google?
QUOTE: “While there are no definitive right or wrong lengths for text alternatives provided using the img element’s
altattribute, the general consensus is that if the text alternative is longer 30-50 words (2 to 3 sentences), it should not be considered a short text alternative and should not be presented using the
altattribute” W3C, 2020
Even though Google gives us 16 words to play with, I would not optimise ALT text for Google, I would optimise ALT for screen readers (where possible):
QUOTE: “alt attribute should be used to describe the image. So if you have an image of a big blue pineapple chair you should use the alt tag that best describes it, which is alt=”big blue pineapple chair.” title attribute should be used when the image is a hyperlink to a specific page. The title attribute should contain information about what will happen when you click on the image. For example, if the image will get larger, it should read something like, title=”View a larger version of the big blue pineapple chair image.” John Mueller, Google 2017
Barry continues with a quote:
QUOTE: “As the Googlebot does not see the images directly, we generally concentrate on the information provided in the “alt” attribute. Feel free to supplement the “alt” attribute with “title” and other attributes if they provide value to your users! So for example, if you have an image of a puppy (these seem popular at the moment :-)) playing with a ball, you could use something like “My puppy Betsy playing with a bowling ball” as the alt-attribute for the image. If you also have a link around the image, pointing a large version of the same photo, you could use “View this image in high-resolution” as the title attribute for the link.” Barry Schwartz, SERoundtable 2017
Best of luck!