Techniques for WCAG 2.0

Skip to Content (Press Enter)

-

H45: Using longdesc

Applicability

HTML and XHTML documents that include images that cannot be described in a short text alternative.

This technique relates to:

User Agent and Assistive Technology Support Notes

Some older assistive technologies do not support the longdesc attribute.

Description

The objective of this technique is to provide information in a file designated by the longdesc attribute when a short text alternative does not adequately convey the function or information provided in the image. The longdesc attribute is a URI, the target of which contains a long description of the non-text content.

Examples

Example 1

Example Code:

<p><img src="chart.gif" alt="a complex chart" longdesc="chartdesc.html"/></p>

Resources

Resources are for information purposes only, no endorsement implied.

Tests

Procedure

  1. Check that a longdesc attribute exists.

  2. Check that the link in the longdesc attribute is valid

  3. Check that the long description describes the original non-text content associated with it.

Expected Results