Test Case sc1.1.1_l1_047: Non-descriptive label associated with input element

Formal Metadata

Formal Metadata
TitleNon-descriptive label associated with input element
DescriptionDocument containing a form with a single input field that has an associated label; the label element contains only white space and a colon.
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-27
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: label (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: The LABEL element .

Test Data

Purpose

The test case is intended to fail because there is no descriptive text in the label element associated with the input field. This test is only for the label element, not for the prevention of input errors (guideline 3.3).

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc1.1.1_l1_047 (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 1: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.

Functional Outcome

The label does not tell the user what to enter into the input field.

Technical Comment

This test case does not map to a WCAG 2.0 technique or failure.

(The test case fails 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 fails the following success criterion at line 11, column 1: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.

Functional Outcome

The label does not tell the user what to enter into the input field.

Technical Comment

This test case maps to technique H44: Using label elements to associate labels with form controls (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H44); .

Online version: sc1.1.1_l1_047.

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

The test case fails the following success criterion at line 11, column 1: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-sensory.

Functional Outcome

There is an invalid label for the input element