Test Case xhtml1_wcag2_20050630_1.1_l1_sc1_006: Alt attribute for images: image with empty alt attribute in link with link text

Formal Metadata

Formal Metadata
TitleAlt attribute for images: image with empty alt attribute in link with link text
DescriptionA document containing a link with an image and text. The image itself does not contain text and has an empty alt attribute, but the link text describes the target of the link.
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-22
Statusdraft

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 .

Test Data

Purpose

This test case is intended to pass because the text alternative immediately follows the image.

Test Modes

End user.

Test Files

Test file.

TCDL Data

xhtml1_wcag2_20050630_1.1_l1_sc1_006 (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 10, column 167) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.

The test case passes (line 10, column 177) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.

Functional Outcome

The image has a text description in the link text.

Technical Comment

The img element has an alt attribute.

Secondary Rules

Secondary Rule (WCAG 2.0 - February 2005 Editor's Draft)

The test case passes the following success criterion: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#4.1_use-spec-document-backward-compat-violations.

Functional Outcome

The image has a text description.

Technical Comment

The img element has an alt attribute with appropriate alternative text and therefore the img element is valid.