| Title | Radio buttons with explicitly associated labels |
|---|---|
| Description | A document with a simple form that contains only a set of two radio buttons. Next to each of the input elements (type="radio") is the label element for the field; the label elements are explicitly associated with the input elements by means of for and id attributes. |
| Creator | BenToWeb (evlach@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-08-30 |
| 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 pass because the input elements have explicitly associated label elements.
Automatic evaluation.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 12, column 107) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#content-structure-separation-programmatic.
The test case passes (line 13, column 103) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#content-structure-separation-programmatic.
Assistive technology can find the labels for the radio buttons.
The test case maps to technique H44: Using label elements to associate text labels with form controls.
The test case passes (line 12, column 107) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.
The test case passes (line 13, column 103) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.
Assistive technology can find the labels for the radio buttons.
Online version: sc1.3.1_l1_053.
The test case passes (line 11, column 36) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#content-structure-separation-programmatic.
The test case passes (line 12, column 51) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#content-structure-separation-programmatic.
Assistive technology can find the label for the radio button.