Test Case sc1.1.1_l1_040: Text alternative for image button: inaccurate alt text

Formal Metadata

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

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 the image button (for form submission) has a text alternative. 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.

@@note: fail in previous test suite.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

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

Functional Outcome

The text description of the graphical submit button does not match the text in the image.

Technical Comment

The input element has an alt attribute but the attribute does not contain all non-decorative text in the image.

This test case maps to technique H36: Using alt attributes on images used as submit buttons.

The test procedure in technique H36 does not check the alttext: see the public comment Technique H36: test procedures has no requirements on alt text.

Secondary Rules

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

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

Functional Outcome

The text description of the graphical submit button does not match the text in the image.

Technical Comment

The input element has an alt attribute but the attribute does not contain all non-decorative text in the image.

Online version: sc1.1.1_l1_040.

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

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

Functional Outcome

The text description of the graphical submit button does not match the text in the image.

Technical Comment

The input element has an alt attribute but the attribute does not contain all non-decorative text in the image.