| Title | Name, role and value of emulated user interface control: checkbox [new] |
|---|---|
| Description | A 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.
|
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2005-2007 |
| Language | English |
| Date | 2007-08-24 |
| Status | validated |
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)
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
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.
Accessibility expert.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case fails the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#ensure-compat-rsv.
Users of assistive technology cannot find the ‘checkbox’.
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.