Test Case xhtml1_wcag2_20050630_1.1_l1_sc1_011: Alternative text for object with image and image map

Formal Metadata

Formal Metadata
TitleAlternative text for object with image and image 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. 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 2004-2007

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


This test case is intended to pass because the image has an appropriate text alternative in the img element that serves as a fallback for the object element. However, browser support for the object element may determine if this test case is accessible or not. Internet Explorer (version 6 or earlier) has weak or no support for the object element. Only the image itself is tested, not the image map.

Test Modes

End user.

Test Files

Test file.


xhtml1_wcag2_20050630_1.1_l1_sc1_011 (XML).


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

Primary Rules

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 a fallback with a 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.

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