Test Case sc1.1.1_l1_017: Alt attribute for areas in client-side image maps: object and nested image both referencing same map

Formal Metadata

Formal Metadata
TitleAlt attribute for areas in client-side image maps: object and nested image both referencing same map
DescriptionA document with an object element in an image map. The object element embeds an image in PNG format, and contains an img element with the GIF version of the same image. The alt attribute of the img element identifies the image and conveys the same information. However, the alt attribute of one of the map's area elements is empty. The object element does not have a title attribute or any other text alternative except the alt attribute of the img element.
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2005-2007
LanguageEnglish
Date2005-08-29
Statusrejected 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: object (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: General Inclusion: The object element .

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 fail because one of the areas of the image map has no text alternative. The empty text alternative is an issue in itself, but, in addition to this, browser support for the object element may also determine if this test case is accessible or not. Internet Explorer has weak or no support for the object element.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc1.1.1_l1_017 (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 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 19, column 47: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.

Functional Outcome

The image has a fallback with a text description but one of the areas in the image map has no text description. User testing with screen reader users provided the following results: most users of speech output (20 out of 22) could understand the image, and most users (3 out of 4) of a Braille display could also understand it. (All were users of Internet Explorer 6 or 7.) User testing with magnification users provided the following results: one user of Internet Explorer 6 could understand the image. (Only one user of magnification for this test.) This test case needs re-testing with a new question in the scenarios.

Technical Comment

The object element has an img element with an alt attribute as a fallback . Since there is no direct text alternative, it is not entirely clear if this code is accessible. However, since the second area element in the map element has an empty alt attribute, this case does not pass.

This test case is identical to sc1.1.1_l1_011, except that the second area has an empty 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.)

(Internet Explorer 6.0 on Windows 2000 does not support object but displays the fallback image; Internet Explorer 6.0 on Windows XP does not display the fallback image.)@@

Secondary Rules

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

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 19, column 47: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.

Functional Outcome

The image has a fallback with a text description but one of the areas in the image map has no text description.

Technical Comment

The object element has an img element with an alt attribute as a fallback . Since there is no direct text alternative, it is not entirely clear if this code is accessible. However, since the second area element in the map element has an empty alt attribute, this case does not pass.

This test case is identical to xhtml1_wcag2_20050630_1.1_l1_sc1_011, except that the second area has an empty 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.)

(Internet Explorer does not support object but displays the fallback image.)