| Title | Name, role and value for text input and radio buttons [new] |
|---|---|
| Description | A document containing a simple form with a text input field and a set of radio buttons. The text input field has a label. The radio buttons have labels and are grouped in a fieldset that has a legend. All the user interface components are created with standard XHTML without scripting. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2005-2007 |
| Language | English |
| Date | 2007-08-24 |
| Status | validated |
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: form
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
The form element
.
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
.
Feature: fieldset
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
Adding structure to forms: the fieldset and legend elements
.
Feature: legend
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
Adding structure to forms: the fieldset and legend elements
.
The test case is intended to pass because the proper markup for input fields, labels and fieldsets is used so that the name, role and value of each user interface component can be determined.
Automatic evaluation.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#ensure-compat-rsv.
Users of assistive technology can determine the name, role and value of each user interface component.
This test case maps to technique G108: Using markup features to expose the name and role, allow user-settable properties to be directly set, and provide notification of changes and to technique H44: Using label elements to associate text labels with form controls.