Title | Text alternative for image button: inaccurate alt text |
---|---|
Description | A document with a form that uses an image button for form submission. The alt attribute of the input element contains the word "submit" instead of the words in the image ("Find Dogs"). |
Creator | BenToWeb (Christophe.Strobbe@…) |
Rights | Copyright BenToWeb 2004-2007 |
Language | English |
Date | 2005-08-31 |
Status | draft |
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)
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 .
This test case is intended to fail because the text alternative of the image button (for form submission) does not contain the text 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.
End user.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case fails the following success criterion at line 13, column 112: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-functional.
The text description of the graphical submit button does not match the text in the image.
The input
element has an alt
attribute but the attribute does not contain all non-decorative text in the image.