Test Case sc4.1.2_l1_208: Name, role and value of emulated user interface control: checkbox [new]

Formal Metadata

Formal Metadata
TitleName, role and value of emulated user interface control: checkbox [new]
DescriptionA document with a form in which a checkbox is emulated by means of a span element, an onclick event handler and Javacript. Clicking the checkbox or its (emulated) label toggles the checkbox on or off.
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: input (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: The input element .

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

Technical specification: The title attribute .

Standard ECMA-262: ECMAScript Language Specification

Standard ECMA-262: ECMAScript Language Specification

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 emulated checkbox cannot be recognised as such by assistive technology. Only the emulation issue is tested here, not keyboard accessibility.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc4.1.2_l1_208 (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

Users of assistive technology cannot find the ‘checkbox’.

Technical Comment

This test case maps to failure F59: Failure of SC 4.1.2 due to using script to make div or span a user interface control in HTML.