| Title | Password field with visually positioned label (no explicit label) |
|---|---|
| Description | A document with a simple form that contains only a password field. Next to the input is the label element for the field; there is no explicit association between input and label by means of for and id attributes. |
| Creator | BenToWeb (evlach@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-08-29 |
| 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: input
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
The input element
.
Feature: label
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
The label element
.
The test case is intended to fail because the association between label and input is based on visual proximity instead of being explicit.
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 1: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#content-structure-separation-programmatic.
The test case fails the following success criterion at line 12, column 48: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#content-structure-separation-programmatic.
Assistive technology will need to determine the assocation between input and label on the basis of visual proximity.
The input element has no explicitly associated label.
The test case maps to failure F68: Failure of SC 1.3.1 and 4.1.2 due to the association of label and user interface controls not being programmatically determinable.
The test case fails the following success criterion at line 11, column 45: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.
The test case fails the following success criterion at line 12, column 48: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.
Assistive technology will need to determine the assocation between input and label on the basis of visual proximity.
The input element has no explicitly associated label.
Online version: sc1.3.1_l1_040.
The test case fails the following success criterion at line 11, column 45: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#content-structure-separation-programmatic.
The test case fails the following success criterion at line 12, column 48: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#content-structure-separation-programmatic.
Assistive technology will need to determine the assocation between input and label on the basis of visual proximity.
The input element has no explicitly associated label.