| Title | Text alternative for area in image map: inaccurate alt text |
|---|---|
| Description | A document with an image map. The image map has two areas (area elements), corresponding to two phrases in the image: one for the text "Reference" (top half of image) and one for the text "Audio Visual Lab" (bottom half). The alt attribute for the area at the bottom reads "Lab" instead of "Audio Visual Lab". |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-08-31 |
| Status | draft |
| Source | Test suite: HTML Test Suite for WCAG 2.0. Source file: http://www.w3.org/WAI/GL/WCAG20/tests/testfiles/194-1.html by Chris Ridpath (borrowed with modifications). |
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: 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 text alternative for the second area does not match the text in the corresponding area in the image. Only text alternatives for areas are tested here, not the text alternative for the image used in the map.
End user.
“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 97: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-functional.
The text description of the second image map area does not contain all non-decorative text in the image.
The alt attribute of the second area element does not contain all non-decorative text in the image.