| Title | Name, role and value for text input field in form [new] |
|---|---|
| Description | A document with form controls for entering a phone number. There is no room for label elements between the input fields, so title attributes are used instead.
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: input
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
The input element
.
Feature: title
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
The title attribute
.
The test case is intended to pass because the input elements have title attributes that describe their purpose.
Accessibility expert.
“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 purpose of the input fields.
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 H65: Using the title attribute to identify form controls when the label element cannot be used.