Test Case sc1.1.1_l1_050: Text alternative for purely decorative image: non-empty alt attribute

Formal Metadata

Formal Metadata
TitleText alternative for purely decorative image: non-empty alt attribute
DescriptionA document with a single sentence that contains a purely decorative image inside a link. The alt attribute for the image reads: "green star".
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2004-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 .

Test Data

Purpose

This test case is intended to fail because the alt attribute for the purely decorative image is not empty.

Test Modes

Three or more accessibility experts.

Test Files

Test file.

TCDL Data

sc1.1.1_l1_050 (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 108: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.

Functional Outcome

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

Technical Comment

This test case maps to failure F39: Failure of SC 1.1.1 due to providing a text alternative that is not null (e.g. alt="spacer" or alt="image") for images that should be ignored by assistive technology.

Secondary Rules

Secondary Rule (WCAG 2.0 - April 2006 Working Draft (Last Call))

The test case fails the following success criterion at line 9, column 108: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.

Functional Outcome

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

Technical Comment

This test case maps to failure F39: Failure of SC 1.1.1 due to providing a text alternative that is not null. (e.g. alt="spacer" or alt="image") for Images that should be ignored by AT (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#F39).

Online version: sc1.1.1_l1_050.

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

The test case fails the following success criterion at line 9, column 92: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-ignored.

Functional Outcome

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

Technical Comment

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