Test Case sc1.3.1_l1_051: All input elements should have an explicit associated label

Formal Metadata

Formal Metadata
TitleAll input elements should have an explicit associated label
DescriptionDocument containing an input element with type="file" with no implicit label.
CreatorBenToWeb (evlach@…)
RightsCopyright BenToWeb 2005-2007
LanguageEnglish
Date2005-08-30
Statusaccepted QA
Source

Test suite: HTML Test Suite for WCAG 2.0.

Source file: http://www.w3.org/WAI/GL/WCAG20/tests/testfiles/120-4.html by Chris Ridpath (borrowed with modifications).

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 fail as the input has no associated label .

Test Modes

Automatic evaluation.

Test Files

Test file.

TCDL Data

sc1.3.1_l1_051 (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 at line 11, column 52: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.

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

Functional Outcome

Input element has no associated label

Technical Comment

input element has no explicit associated label.

Secondary Rules

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

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

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

Functional Outcome

Input element has no associated label

Technical Comment

input element has no explicit associated label.