Element

all elements

Error Type

Potential

Guidelines

  • BITV 1.0 (Level 2)
    Guideline GroupLevel 1
    Guideline Subgroup6.4 For scripts and applets, ensure that event handlers are input device-independent.
  • Stanca Act
    Guideline GroupRequirement 16: Script/Object Accessible
  • WCAG 1.0 (Level AAA)
    Guideline GroupPriority 2
    Guideline Subgroup6.4 For scripts and applets, ensure that event handlers are input device-independent.
  • WCAG 2.0 (Level A)
    Guideline Group2.1 Keyboard Accessible: Make all functionality available from a keyboard.
    Guideline SubgroupSuccess Criteria 2.1.1 Keyboard (A)
  • WCAG 2.0 (Level AA)
    Guideline Group2.1 Keyboard Accessible: Make all functionality available from a keyboard.
    Guideline SubgroupSuccess Criteria 2.1.1 Keyboard (A)
  • WCAG 2.0 (Level AAA)
    Guideline Group2.1 Keyboard Accessible: Make all functionality available from a keyboard.
    Guideline SubgroupSuccess Criteria 2.1.1 Keyboard (A)

Requirement

All ondblclick event handlers have corresponding keyboard-specific functions.

Error

script may not be keyboard accessible - ondblclick requires keyboard specific functions.

Short Description

Any element that contains an ondblclick attribute will generate this error.

How To Determine

Question Does this document contain keyboard specific functions that correspond to the ondblclick event handler?
PASS Document contains keyboard specific functions that correspond to the ondblclick event handler.
FAIL Document does not contain keyboard specific functions that correspond to the ondblclick event handler.

Steps To Check

Procedure

1. Check each element in the document for an ondblclick attribute.
2. Check if there are keyboard operations that perform the same function.

Expected Result

1. All ondblclick event handlers have corresponding keyboard-specific functions.

Failed Result

1. Remove the ondblclick attribute or add keyboard specific functions that perform the same action.

Examples

Pass Examples

Contains an element that has an ondblclick attribute with keyboard equivalents.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #103 - Negative</title>
</head>
<body>

<INPUT name="num" value="0">

</body>
</html>

Fail Examples

Contains an element that has an ondblclick attribute without keyboard equivalents.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #103 - Positive</title>
</head>
<body>

<INPUT name="num" ondblclick="bar" value="0">

</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute