Test Case xhtml1_wcag2_20050630_1.1_l1_sc2_003: Text alternative for image button: correct alt text

Formal Metadata

Formal Metadata
TitleText alternative for image button: correct alt text
DescriptionA document with a form that uses an image button for form submission. The alt attribute of the input element is contains the words that are in the image.
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-31
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 .

Feature: input (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: Control types created with INPUT .

Test Data

Purpose

This test case is intended to pass because there is the text alternative of the image in the image button (for form submission) contains the words that are in the image. This test is only for the text alternative of the image button, not for the label of the text input field or other parts of the page.

Test Modes

End user.

Test Files

Test file.

TCDL Data

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

Functional Outcome

The graphical submit button has a text description.

Technical Comment

The input element has an alt attribute containing an accurate text alternative.