Test Case sc2.1.1_l1_009: Input field with only a device-dependent event handler

Formal Metadata

Formal Metadata
TitleInput field with only a device-dependent event handler
DescriptionDocument containing an input element which is automatically filled with default value when clicking in it. The same does not happen in case of a keyboard tab.
CreatorBenToWeb (johannes.koch@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-09-01
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.

Standard ECMA-262 : ECMAScript Language Specification, 3rd edition (December 1999)

Standard ECMA-262 : ECMAScript Language Specification, 3rd edition (December 1999)

Test Data

Purpose

The test case is intended to fail because the script functionality is only triggered when using a pointing device. Thus a user using only a keyboard cannot benefit from this functionality.

Expert Guidance

Check that interactive functionality can be accessed using the keyboard alone. Try to make default text appear in input field both using mouse (click) and keyboard (tab).

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc2.1.1_l1_009 (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 19, column 60: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#keyboard-operation-keyboard-operable.

Functional Outcome

The script functionality is not accessible by keyboard.

Technical Comment

There is no onfocus event handler for the input.

This test case maps to failure F54: Failure of SC 2.1.1 due to using only pointing-device-specific event handlers (including gesture) for a function.

Secondary Rules

Secondary Rule (WCAG 2.0 - April 2006 Working Draft (Last Call))

The test case fails the following success criterion at line 19, column 60: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#keyboard-operation-keyboard-operable.

Functional Outcome

The script functionality is not accessible by keyboard.

Technical Comment

There is no onfocus event handler for the input.

Online version: sc2.1.1_l1_009.

Secondary Rule (WCAG 2.0 - February 2005 Editor's Draft)

The test case fails the following success criterion at line 19, column 60: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#2.1_keyboard-operation-keyboard-operable.

Functional Outcome

There is no rapid access to the script.

Technical Comment

There is no accesskey attribute for the input using event handler.