Test Case sc4.1.2_l1_210: No programmatic association between text field and label [new]

Formal Metadata

Formal Metadata
TitleNo programmatic association between text field and label [new]
DescriptionA document containing a simple form with a text input field, a reset button and a submit button. The text input field has no label: the ‘label’ is just a text string positioned in front of the input field.
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: 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 .

Cascading Style Sheets, level 2: CSS2 Specification

Cascading Style Sheets, level 2: CSS2 Specification

Test Data

Purpose

The test case is intended to fail because the association between the text input field and its label is not explicit but based on physical location.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc4.1.2_l1_210 (XML).

Rules

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

Primary Rules

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

Functional Outcome

Assistive technology may make an incorrect guess regarding the field’s label.

Technical Comment

This 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.