Web Development
Web Developer Guidelines
Visual Design Recommendations

Checkpoint 1.17 - JavaScript

The event handler ondblclick is not used

WCAG 1.0 Priority 2

WCAG Guideline 6. Ensure that pages featuring new technologies transform gracefully.

An event handler is a script that is invoked when a certain event occurs (e.g, the mouse moves, a key is pressed, the document is loaded, etc.). In HTML 4.01, event handlers are attached to elements via event handler attributes (the attributes beginning with on, as in onkeyup).

The event handler ondblclick is device-dependent in that it requires a mouse action. This is therefore not available to non-mouse devices. There is also no device-independent, redundant event handler available.

Requirement

The event handler ondblclick is not used

Checking Tool

View the source page of the web page in a text editor and search for instances of ondblclick.

Information Source

The original source of this information is located on the W3C web site  (www.w3.org/TR/WCAG10-TECHS/#tech-keyboard-operable-scripts)

 

Back to top