Newsletter #8 How to Choose Good Alternative Text

Accessibility Newsletter

13 October 2023

Representation of an image with alternative text

ALT
How to choose good ALTERNATIVE TEXT

Did you know that the omission of alternative text in images is the cause of 66% of the most common accessibility errors on home pages?

Graph of common accessibility errors

Source: Global Accessibility Awareness Day website opens in new window

The ALT attribute is the alternative text that we can associate with an image so that a person with visual impairment can, through assistive products such as a screen reader or braille line, know what it is about

How do I choose a good ALT?

The choice of alternative text depends on the type of image and the information it contains. To do this, we can follow these general recommendations:

  • With text: normally the complete text contained in the image should be reproduced.
  • Decorative: if the image is not necessary to understand the content or does not provide information, an empty ALT attribute should be used.
  • Informative: if the image provides meaning or content, we should use alternative text with a brief description of that content or meaning.
  • Functional: Images that are used to initiate actions, such as a printer icon, should have alternative text describing the action and not the object.

Learn more about alternative text and how to apply it to your website