Title | Alternative text for areas in client-side image maps: img element with image map; empty alt attributes in image and image map areas |
---|---|
Description | A document with an image map: the alt attribute of the img element is empty;
the alt attributes of the image map's area elements are also empty.
|
Creator | BenToWeb (Christophe.Strobbe@…) |
Rights | Copyright BenToWeb 2004-2007 |
Language | English |
Date | 2005-08-29 |
Status | accepted QA |
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: map
(namespace: http://www.w3.org/1999/xhtml
)
.
Technical specification: How to create client-side image maps .
Feature: area
(namespace: http://www.w3.org/1999/xhtml
)
.
Technical specification:
Client-side image maps: the map
and area
elements
.
This test case is intended to fail because the image and the image map areas have no text alternatives.
Automatic evaluation.
“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 15, column 7: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The test case fails the following success criterion at line 18, column 46: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The test case fails the following success criterion at line 19, column 47: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The test case fails the following success criterion at line 20, column 47: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The image has no text description associated with it, but the text above it may be sufficient. However, none of the areas in the image map has a text description.
The img
element has an empty alt
attribute but the text above the image may be sufficient.
However, since each of the area
elements in the map element
has an alt
attribute, this case does not pass.
This test case is identical to sc1.1.1_l1_009, except that the alt
attributes of the area
elements are now empty.
This test case does not map to a WCAG 2.0 technique or failure.
(In Mozilla 1.7.3, SeaMonkey 1.1, Firefox 1.0, 1.5 and 2.0, the map does not work if the map
element has only an id
and no name
attribute.)
The test case fails the following success criterion at line 15, column 7: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The test case fails the following success criterion at line 18, column 46: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The test case fails the following success criterion at line 19, column 47: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The test case fails the following success criterion at line 20, column 47: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The image has no text description associated with it, but the text above it may be sufficient. However, none of the areas in the image map has a text description.
The img
element has an empty alt
attribute but the text above the image may be sufficient.
However, since each of the area
elements in the map element
has an alt
attribute, this case does not pass.
This test case is identical to sc1.1.1_l1_009, except that the alt
attributes of the area
elements are now empty.
(In Mozilla 1.7.3 and Firefox 1.0, the map does not work if the map
element has only an id
and no name
attribute.)
Online version: sc1.1.1_l1_024.
The test case fails the following success criterion at line 15, column 7: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The test case fails the following success criterion at line 18, column 46: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The test case fails the following success criterion at line 19, column 47: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The test case fails the following success criterion at line 20, column 47: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The image has no text description associated with it, but the text above it may be sufficient. However, none of the areas in the image map has a text description.
The img
element has an empty alt
attribute but the text above the image may be sufficient.
However, since each of the area
elements in the map element
has an alt
attribute, this case does not pass.
This test case is identical to xhtml1_wcag2_20050630_1.1_l1_sc1_009, except that the alt
attributes of the area
elements are now empty.
(In Mozilla 1.7.3 and Firefox 1.0, the map does not work if the map
element has only an id
and no name
attribute.)