Test Case xhtml1_wcag2_20050630_2.5_l3_sc1_011: Avoiding mistakes and making it easy to correct them

Formal Metadata

Formal Metadata
TitleAvoiding mistakes and making it easy to correct them
DescriptionDocument containing one text input field and one button. The text input field does not have a label element.
CreatorBenToWeb (sandor.herramhof@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-25
Statusdraft

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: Form label element .

Feature: input (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: Form input element .

Test Data

Purpose

The document is intended to fail, becaue the text input field is not tied a label element. The absence of the label element is tested here.

Test Modes

Test Files

Test file.

TCDL Data

xhtml1_wcag2_20050630_2.5_l3_sc1_011 (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 8, column 6: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#minimize-error-context-help.

Functional Outcome

No label element for text input.