| Title | Empty label associated with input field |
|---|---|
| Description | Document containing a single input field with an associated label; the label element does not contain any text. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2005-2007 |
| Language | English |
| Date | 2005-08-27 |
| Status | accepted QA |
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: The LABEL element .
The test case is intended to fail because there is no text in the label element associated with the input element.
This test is only for the label element, not for the prevention of input errors (guideline 2.5).
Automatic evaluation.
“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 11, column 5: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
There is no label text for the input element.
This test case maps to technique H44: Using label elements to associate labels with form controls (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H44); .
The test case fails the following success criterion at line 11, column 5: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-sensory.
There is no label text for the input element.