| Title | Long description for complex image: longdesc refers to separate HTML page |
|---|---|
| Description | A document with an image that represents of map of the Mediterranean in 180 AD. The img element has an alt attribute, a title attribute and a longdesc attribute.
The alt attribute identifies the image but the image is too complex to be described in an attribute.
The longdesc attribute refers to a separate HTML page that identifies the image and conveys the same information. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-08-29 |
| Status | draft |
Technologies are markup languages or data formats. If the technology is a markup language, “features” refers to elements and attributes.
XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)
Feature: img
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: How to specify alternate text .
Feature: img
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: The longdesc attribute .
This test case is intended to pass because the alt attribute provides a short description and the longdesc attribute points to a separate page that contains an appropriate text alternative. The test is for the longdesc attribute rather than the alt attribute. Strictly speaking, this should work, but poor support for longdesc in some browsers may cause problems.
End user.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 10, column 81) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The test case passes (line 10, column 244) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The image has a short text description as well as a long one.
The img element has an alt attribute and a longdesc attribute.
However, due to lack of support of the longdesc attribute in some browsers, user may not always be able to access the long description.
The test case passes the following success criterion: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#4.1_use-spec-document-backward-compat-violations.
The image has a text description.
The img element has an alt attribute with appropriate alternative text and therefore the img element is valid.