Test Case sc1.1.1_l1_002: Alternative text for images: correct alt attribute

Formal Metadata

Formal Metadata
TitleAlternative text for images: correct alt attribute
DescriptionA document with an img element that displays a cat. The img element has an alt attribute that identifes the image and conveys the same information as the image ("A black and white cat named Harrison").
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-05-10
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 pass because it presents an appropriate text alternative conveying the same information as the image.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc1.1.1_l1_002 (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 9, column 60) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.

Functional Outcome

The image has a text description.

Technical Comment

The img element has an alt attribute.

This test case maps to technique H37: Using alt attributes on img elements.

Secondary Rules

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

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

Functional Outcome

The image has a text description.

Technical Comment

The img element has an alt attribute.

Online version: sc1.1.1_l1_002.

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

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

Functional Outcome

The image has a text description.

Technical Comment

The img element has an alt attribute.

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.