Test Case xhtml1_wcag2_20050630_1.1_l1_sc4_001: Text alternative for spacer image: non-empty alt attribute

Formal Metadata

Formal Metadata
TitleText alternative for spacer image: non-empty alt attribute
DescriptionA document with a single sentence that contains a spacer image. The alt attribute for the spacer image reads: "big space".
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-24
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 fail because the alt attribute for the spacer image is not empty.

Test Modes

Automatic evaluation.

Test Files

Test file.

TCDL Data

xhtml1_wcag2_20050630_1.1_l1_sc4_001 (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 9, column 139: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-ignored.

Functional Outcome

The spacer image has a text description that is not empty.

Technical Comment

The img element has an alt attribute that is not empty.

Secondary Rules

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

The test case needs review before it can be established if it passes or fails 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 spacer image has a text description that is not empty.

Technical Comment

The HTML specification does not define the meaning of an empty alt attribute on an img element.