Home / News

All About Alt Text (alternative text)

null

Anyone who has attempted or even considered making their digital offerings accessible has heard or seen the term “alt text”. There is some confusion about just exactly what the term encompasses, but it’s such an important accessibility feature that everyone should have a general understanding of it.

Alt text (alternative text) is a word or phrase that can be inserted as an attribute in an HTML (Hypertext Markup Language) document to tell website or digital document viewers the nature or contents of an image. The alt text appears in a blank box that would normally contain the image. Alt text is also useful for the general user when an image link is not available for any reason.

There is a lot of information available about using alt text, and one of the best sources is Google. The following tips to improve the user’s experience of alt text are taken from Google’s  Image Publishing Guidelines:

To boost your content’s visibility in Google Images, focus on the user by providing a great user experience: make pages primarily for users, not for search engines. Here are some tips:

 

 

It’s really important to ensure that the content tells viewers as much as possible about the image while at the same time using as few words as possible. This is important because as images get physically smaller, too many words can take up too much space to fit inside the image rectangle (which is the same size as the image would be if it were visible).

When an image contains words that are important to understanding the meaning of the text, the alt text should include those words. This will allow the alt text to play the same function on the page as the image itself. Describing the image is not as important as conveying the precise meaning of the image.

In order to be compliant with W3C Accessibility Guidelines, and for code to be considered W3C-valid, it is important to include both image alt text and image title text in the image for important images on the page.

Alt text is also a good place to place relevant keywords to improve your website’s search engine optimization (SEO), but it is not okay to do “keyword stuffing”, which is the practice of inserting a large number of keywords into Web content. According to Google, the practice is not only unethical but also does not work.

Images in articles and documents encourage people to read them, and using alt text allows everyone to have a full experience. Well-chosen images and descriptors reinforce the message, and make content inclusive. It’s a win-win for everyone.