Test Case sc4.1.2_l1_213: No programmatic association between file upload control and label [new]

Formal Metadata

Formal Metadata
TitleNo programmatic association between file upload control and label [new]
DescriptionA document containing a simple form with a file upload control, a reset button and a submit button. The file upload control has no explicit label (label element); instead, the ‘label’ is provided as a text string positioned before the control.
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 .

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

Technical specification: file select .

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 file upload control 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_213 (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 label of the file upload control.

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.