Test Case sc1.3.1_l1_037: input element (text) with explicit associated label

Formal Metadata

Formal Metadata
Titleinput element (text) with explicit associated label
DescriptionDocument with a form containing an input field with type="text", and an explicitly associated label.
CreatorBenToWeb (evlach@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-29
Statusaccepted QA

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: label (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: The LABEL element .

Test Data

Purpose

The test case is intended to pass because the inputhas an explicitly associated label.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc1.3.1_l1_037 (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 (line 11, column 1) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#content-structure-separation-programmatic.

The test case passes (line 12, column 1) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#content-structure-separation-programmatic.

Functional Outcome

User agents can determine that the label belongs to the input element.

Technical Comment

The test case maps to technique H44: Using label elements to associate text labels with form controls.

Secondary Rules

Secondary Rule (WCAG 2.0 - April 2006 Working Draft (Last Call))

The test case passes (line 11, column 1) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.

The test case passes (line 12, column 1) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.

Functional Outcome

Input element has an explicit associated label

Technical Comment

Online version: sc1.3.1_l1_037.

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

The test case passes (line 11, column 1) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#content-structure-separation-programmatic.

The test case passes (line 12, column 1) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#content-structure-separation-programmatic.

Functional Outcome

Input element has an explicit associated label