Title | Avoiding mistakes and making it easy to correct them |
---|---|
Description | Document containing one text input field and one button. The text input field does not have a label element. |
Creator | BenToWeb (sandor.herramhof@…) |
Rights | Copyright BenToWeb 2004-2007 |
Language | English |
Date | 2005-08-25 |
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: label
(namespace: http://www.w3.org/1999/xhtml
)
.
Technical specification: Form label element .
Feature: input
(namespace: http://www.w3.org/1999/xhtml
)
.
Technical specification: Form input element .
The document is intended to fail, becaue the text input field is not tied a label element. The absence of the label element is tested here.
“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 8, column 6: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#minimize-error-context-help.
No label element for text input.