W3CWeb Accessibility Initiative Home

Script opened viewport only with user request

On this page: Test 1 | References | About these tests

Nearby: More HTML 4.01 Tests | UAAG 1.0 Test Suite

UAAG 1.0 Requirement

Checkpoint 5.3 Manual viewport open only (Priority 2 )
Provision 1 : Allow configuration so that viewports only open on explicit user request.
Provision 2 : When configured per provision one of this checkpoint, instead of opening a viewport automatically, alert the user and allow the user to open it with an explicit request (e.g., by confirming a prompt or following a link generated by the user agent).
Provision 3 : Allow the user to close viewports.

Test 1 :

Procedure

  1. Tab through the links on this page
  2. Generally, the user agent must have scripting enabled for this test to function correctly.

Run test

Test Link 1 | Test Link 2 | Test Link 3

Expected results

  1. When this page loads, a script embedded within this page will usually open a separate viewport automatically.
  2. The viewport opened by this script should only open upon explicit user request.
  3. The user should be able to close the separate vieport that is opened.

Source code

<script language="javascript" type="text/javascript" xml:space="preserve" name="test-links" id="test-links" title="Test Links">
  <p>
    <a href="../action/return.html" shape="rect">Test Link 1</a>
    <a href="../action/return.html" shape="rect">Test Link 2</a>
    <a href="../action/return.html" shape="rect">Test Link 3</a>
  </p>
</script>
<map name="test-links" id="test-links" title="Test Links">
  <p>
    <a href="../action/return.html" shape="rect">Test Link 1</a>
    <a href="../action/return.html" shape="rect">Test Link 2</a>
    <a href="../action/return.html" shape="rect">Test Link 3</a>
  </p>
</map>

Test Script Code

References

  1. HTML 4.01 specification for SCRIPT

About this test suite

This test is part of a test suite for the User Agent Accessibility Guidelines (UAAG) 1.0 . This work is conducted by the User Agent Accessibility Guidelines Working Group , which is part of W3C's Web Accessibility Initiative (WAI) . Please send comments on this test to w3c-wai-ua@w3.org ( public archive ).


Test created by:

Last modified: $Date: 2003/04/02 23:46:44 $ by $Author: jongund $