| Title | Long description for complex image: image inside object; no longdesc that refers to long description inside object |
|---|---|
| Description | A document with an image that represents a map of the Mediterranean in 180 AD.
The document contains an object element that embeds the map in GIF format; inside the object element is an img element that embeds the same map in JPEG format.
The img element has an alt attribute, a title attribute but no longdesc attribute.
The alt attribute identifies the image but the image is too complex to be described in an attribute.
There is a long description inside the object element that identifies the image and conveys the same information. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2005-2007 |
| Language | English |
| Date | 2005-08-30 |
| Status | validated |
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: object
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
General Inclusion: The object element
.
Feature: img
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: How to specify alternate text .
This test case is intended to fail because the alt attribute provides a short description but
the long description (which contains an appropriate text alternative) is located inside the object element that loads the map.
This test is for the long description rather than the alt attribute.
Accessibility expert.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case fails the following success criterion at line 12, column 60: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The test case fails the following success criterion at line 11, column 79: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The image has a short text description as well as a long one. User testing provided the following results: users of screenreaders with Internet Explorer 6 or Firefox had problems accessing the long description of the map.
The img element has an alt attribute and a longdesc attribute.
This test is identical to sc1.1.1_l1_029 but the long description inside the object element is no longer linked by means of the longdesc attribute.
Since browsers do not necessarily provide access to the content of the object if the object can be displayed,
it is not certain that the long description is available to users.
(Internet Explorer 6.0 does not support object and is supposed to display the fallback image, but refuses.)
The test case fails the following success criterion at line 12, column 60: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The test case fails the following success criterion at line 11, column 79: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The image has a short text description as well as a long one. User testing provided the following results: users of screenreaders with Internet Explorer 6 or Firefox had problems accessing the long description of the map.
The img element has an alt attribute and a longdesc attribute.
This test is identical to sc1.1.1_l1_029 but the long description inside the object element is no longer linked by means of the longdesc attribute.
Since browsers do not necessarily provide access to the content of the object if the object can be displayed,
it is not certain that the long description is available to users.
(Internet Explorer 6.0 does not support object and is supposed to display the fallback image, but refuses.)
The test case needs review before it can be established if it passes or fails the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative. The code that causes doubt can be found at line 12, column 60.
The test case needs review before it can be established if it passes or fails the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative. The code that causes doubt can be found at line 11, column 79.
The image has a short text description as well as a long one.
The img element has an alt attribute and a longdesc attribute.
This test is identical to xhtml1_wcag2_20050630_1.1_l1_sc1_029 but the long description inside the object element is no longer linked by means of the longdesc attribute.
Since browsers do not necessarily provide access to the content of the object if the object can be displayed,
it is not certain that the long description is available to users.
(Internet Explorer 6.0 does not support object and is supposed to display the fallback image, but refuses.)
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.