Test Case sc1.1.1_l1_009: Alternative text for image in image map: text preceding image map describes the image

Formal Metadata

Formal Metadata
TitleAlternative text for image in image map: text preceding image map describes the image
DescriptionA document with a client-side image map; the image represents a traffic light. The alt attribute of the img is empty, but the text immediately above the image identifies the image and conveys the same information.
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2005-2007
LanguageEnglish
Date2005-08-25
Statusaccepted QA

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: 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 .

Test Data

Purpose

This test case is intended to pass because there is text above the image that identifies it and conveys the same information. Only the image itself is tested, not the image map.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc1.1.1_l1_009 (XML).

Rules

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

Primary Rules

The test case passes (line 15, column 7) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.

Functional Outcome

The image has no text description associated with it, but the text above it may be sufficient. User testing provided the following results: users of screenreaders, Braille displays or magnification software had no problems understanding what was in the image.

Technical Comment

The img element has an empty alt attribute but the text above the image may be sufficient.

(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.)

Secondary Rules

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

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 15, column 7.

Functional Outcome

The image has no text description associated with it, but the text above it may be sufficient.

Technical Comment

The img element has an empty alt attribute but the text above the image may be sufficient.

(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.)