| Title | Alternative text for image in image map: image with appropriate alt attribute |
|---|---|
| Description | A document with a client-side image map; the image represents a traffic light. The alt attribute of the img element identifies the text and conveys the same information. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-08-25 |
| 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: 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 pass because it presents an appropriate text alternative conveying the same information as the image. Only the image itself is tested, not the image map.
End user.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 15, column 7) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The image has a text description.
The img element has an alt attribute.
(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.)