Text Alternatives

1.1 Text Alternatives

1.1 Text Alternatives

Provide text alternatives for all non-text content so that it can be converted into other formats needed by the user, such as large print, Braille, symbols, or simpler language.

Non-text content

(A)

1.1.1 Non-text content

1.1.1 Non-text Content

9.1.1.1a Alternative Text for Control Elements

All non-text content presented to the user has a text alternative that serves an equivalent purpose, with the exception of the situations listed below.

Controls, Input If the non-text content is a control or accepts user input, it has a name that describes its purpose. (See Success Criterion 4.1.2 for additional requirements regarding controls and content that accept user input.)

Time-Based Media If the non-text content consists of time-based media, then text alternatives must provide at least a descriptive identification of the non-text content. (See Guideline 1.2 for additional requirements regarding media.)

Test: If the non-text content is a test or exercise that would be invalid if presented as text, then text alternatives must provide at least a descriptive identification of the non-text content.

Sensory: If non-text content is primarily intended to create a specific sensory experience, then text alternatives should at least provide a descriptive identification of the non-text content.

CAPTCHA If the purpose of the non-text content is to confirm that a person—and not a computer—is accessing the content, then text alternatives are provided that identify the purpose of the non-text content. In addition, alternative forms of CAPTCHAs are provided that utilize output formats tailored to different types of sensory perception in order to accommodate various disabilities.

Decoration, Formatting, Invisible If non-text content is purely decorative, is used solely for visual formatting, or is not presented to the user at all, then the content is implemented in such a way that assistive technology can ignore it.

Description

The meaning or function of screen buttons, icons, graphics, etc., cannot be perceived or understood by people who are blind.

Example - Image button with a plus symbol

A button like this is usually immediately obvious to a sighted user, since they can perceive the (visual) context. This way, the sighted user will know that clicking this button will, for example, create a new customer or a new item.

For a visually impaired user, the function of the image button is not apparent. A screen reader can recognize and read aloud that an element is a button based on the HTML tag <button>. However, the plus symbol and its meaning in the current context are "invisible" to a screen reader. Therefore, it is necessary to make the button's function accessible to the screen reader using alternative text.

To ensure that a portal or application page is accessible, it is essential that you provide text alternatives for all non-textual content. Text alternatives play an essential role in accessibility, as they can be converted by assistive technologies into other forms of perception (visual, auditory, tactile).

For example, a screen reader reads aloud textual descriptions of images and animations, and a Braille display renders them in Braille. A text alternative for audio content makes the content accessible to people who are deaf.

Text alternatives also help everyone understand non-textual information and make it accessible to search engines.

The WCAG describes several exceptions to the guideline outlined here. These are described at the following link: Non-text content - Exceptions

Relevance and Applicability

This guideline is relevant when implementing accessibility for your portal. It is considered one of the best practices (How to Make Your Web Pages Accessible - Best Practices).

General Implementation

Below are some general guidelines for implementing this policy.

  • Alternative text should be brief. It should convey the purpose of the image, not describe the image. When writing the text alternative, consider which details are important. Depending on the context, a completely different text alternative may be appropriate for the same image.

  • Text alternatives are crucial for assistive technologies. For accessibility purposes, it is not necessary to provide an image with a title (title attribute). You should only do this if you want to include additional information in the title that goes beyond what is provided in the text alternative.

  • Image links should describe the purpose of the link, not the image itself.

  • Decorative images should have an empty (or meaningless) alt text.

  • Complex images, such as charts or graphs, should have a detailed description placed near the image. The image's alternative text should describe where the corresponding image is located.

Implementation in Detail

More Information

Elements