Element

applet

Error Type

Potential

Guidelines

  • WCAG 2.0 (Level A)
    Guideline Group2.1 Keyboard Accessible: Make all functionality available from a keyboard.
    Guideline SubgroupSuccess Criteria 2.1.2 No Keyboard Trap (A)
  • WCAG 2.0 (Level AA)
    Guideline Group2.1 Keyboard Accessible: Make all functionality available from a keyboard.
    Guideline SubgroupSuccess Criteria 2.1.2 No Keyboard Trap (A)
  • WCAG 2.0 (Level AAA)
    Guideline Group2.1 Keyboard Accessible: Make all functionality available from a keyboard.
    Guideline SubgroupSuccess Criteria 2.1.2 No Keyboard Trap (A)

Requirement

applet provides a keyboard mechanism to return focus to the parent window.

Error

applet may not provide a keyboard mechanism to return focus to the parent window.

Short Description

Ensure that keyboard users do not become trapped in a subset of the content that can only be exited using a mouse or pointing device.

How To Determine

Question Does this applet provide a keyboard mechanism that returns focus to the parent window?
PASS applet provides a keyboard mechanism that returns focus to the parent window.
FAIL applet does not provide a keyboard mechanism that returns focus to the parent window.

Steps To Check

Procedure

1. Set keyboard focus to the applet.
2. Determine if there is a keyboard mechanism to return keyboard focus to the parent window.
3. Note: A common method of exiting an applet is to repeatedly press the 'tab' key until the keyboard focus leaves the applet.

Expected Result

1. applet provides a keyboard mechanism to return focus to the parent window.

Failed Result

1. Upgrade the applet or do not use it.

Examples

Pass Examples

applet has a keyboard mechanism that returns focus to the parent window.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>ATRC Testfile - Check #258.2 - Positive</title>
</head>
<body>
<p>The following applet is not working. This is just an example.</p>

<applet code="Press2.class" width="500" height="500"></applet> 
</body>
</html>

Fail Examples

applet does not have a keyboard mechanism that returns focus to the parent window.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>ATRC Testfile - Check #258.1 - Positive</title>
</head>
<body>
<p>The following applet is not working. This is just an example.</p>

<applet code="Press1.class" width="500" height="500"> </applet> 
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute