How to Choose Good Alternative Text
5 September 2022
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.
The alternative text, when it is necessary to use it, should be descriptive, brief and useful. It is not necessary to use “image of…”, “logo” or “icon”, since the screen reader always begins by announcing that it is an image, but we can use expressions such as “drawing”, “graphic”, “map”… to specify the type of image.
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 alternative text should reproduce the complete text contained in the image, unless that text also appears on the page.
- Decorative: if the image is not necessary to understand the content, does not provide information or is merely decorative, an empty ALT attribute should be used (alt=””).
- Informative: if the image provides meaning or content to the page, 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 of printing and not the device.
- Complex: when it comes to a complex graphic or the image conveys extensive information, alternative text should be specified in two parts: the short description of the image in its ALT attribute and the extensive one can be in the page’s own text.
How do I edit the alternative text on my WordPress website?
When inserting an image on our website with the “Add Media” button and selecting or uploading a photo, we will see the option to add alternative text:

IMPORTANT: images on our websites will always have the ALT attribute, empty if it is decorative, because otherwise it is considered an accessibility error and the screen reader will announce “graphic without description”.



