W3CWeb Accessibility Initiative Home

No focus change when script opens new viewport automatically

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.1 No automatic content focus change (Priority 2 )
Provision 1 : Allow configuration so that if a viewport opens without explicit user request, neither its content focus nor its user interface focus automatically becomes the current focus.

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 separate viewport is automatically opened.
  2. The current focus should remain with the viewport of the main test page and the user should be able to continue to tab through the links in this viewport.
  3. The user interface focus should also remain with the original viewport.

Source code

<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

window.open ('../action/new-window-1.html', 'new_window', config='left=200, top=200, height=350, width=400, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes, location=yes, directories=yes, status=yes')

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:43 $ by $Author: jongund $