Test Case sc4.1.2_l1_207: Name, role and value for text input field in form [new]

Formal Metadata

Formal Metadata
TitleName, role and value for text input field in form [new]
DescriptionA 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.
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2005-2007
LanguageEnglish
Date2007-08-24
Statusvalidated

Technologies and Features

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)

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 .

Cascading Style Sheets, level 2: CSS2 Specification

Cascading Style Sheets, level 2: CSS2 Specification

Test Data

Purpose

The test case is intended to pass because the input elements have title attributes that describe their purpose.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc4.1.2_l1_207 (XML).

Rules

“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.

Primary Rules

The test case passes the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#ensure-compat-rsv.

Functional Outcome

Users of assistive technology can determine the purpose of the input fields.

Technical Comment

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.