Alternative Text not found*
Error Report
Image elements should have an "alt" attribute.
What Is An Alt Attribute?
The alt attribute, also known as alternative text or alt text, is a brief, 100-125 characters long, description of an image.
Why Is This Important?
If images do not have alt text, then students who rely on text-to-speech or screen reader Links to an external site. programs to view the web will not be informed that the images even exist. Simultaneously, if the images do not have alt text and become disabled, a sighted person will not be able to figure out what the purpose or subject of the image was.
When images have alt text, students can see the text when the image becomes disabled, can hear the text when a screen reader program is used to access the image, and can feel the text when a screen reader program accesses the image and translates the text to a refreshable braille display.
Cause Of Result
Most commonly, this is caused when an image is added with the Insert Content tabbed panel in the right sidebar or when an image is added with the Embed Image Button
in the Rich Content Editor and the brief description (100 characters or less) of the image contents is not entered into the Alt text field.The other way to get this result is to paste or write the HTML code for the image in the HTML Editor and not include alt="[brief description]".
UDOIT finds this issue by looking for the image code that contains alt=""
.
Examples
Incorrect Example
Correct Example
In the mobile app, the Hide and Show Code Links are obsolete. We couldn't hide them without removing them from the web browser view.
False Positives
If an image is purely decorative, meaning that the image is not significant enough that students will mention the image in conversation or use the image as a reference point for finding other information on the page, then leaving the Alt text field blank or creating null alt text (alt=""
) is a perfectly accessible practice. Examples of such images include borders at the beginning and end of each page.
It is because null alt text can be used in an accessible way that UDOIT ranks this result as a suggestion instead of an error. However, you should treat this result as an error 95% of the time.
How To Fix It
Related Result Pages
Related Standards
- Section 508 Quick Reference Guide Links to an external site.
- Section 508 1194.22(a) A text equivalent for every non-text element shall be provided Links to an external site.
- WCAG 2.0 A and AA Reference Guide Links to an external site.
- WCAG 1.1.1: Non-text content Links to an external site.
- WCAG 1.1.1 H37: Using alt attribute on img elements Links to an external site.
Last Updated January 2017.
Clemson Online