Test Case xhtml1_wcag2_20050630_1.1_l1_sc2_004: Text alternative for area in image map: inaccurate alt text

Formal Metadata

Formal Metadata
TitleText alternative for area in image map: inaccurate alt text
DescriptionA 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".
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-31
Statusdraft
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 and Features

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)

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 .

Test Data

Purpose

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.

Test Modes

End user.

Test Files

Test file.

TCDL Data

xhtml1_wcag2_20050630_1.1_l1_sc2_004 (XML).

Rules

“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.

Primary Rules

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.

Functional Outcome

The text description of the second image map area does not contain all non-decorative text in the image.

Technical Comment

The alt attribute of the second area element does not contain all non-decorative text in the image.