W3CWeb Accessibility Initiative Home


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 3.5 Toggle automatic content retrieval (Priority 1 )
Provision 1 : Allow configuration so that the user agent only retrieves content on explicit user request.

Test 1 :


  1. This page automatically refreshes every 5 seconds.
  2. Configure the user agent to only refresh content on explicit user request.

Run test

Expected results

  1. The user agent may satisfy this requirement by alerting the user of the refresh rate specified in content, and allowing the user to request fresh content manually.

Source code

<meta http-equiv="Refresh" content="5; URL=0305-REFRESH.html"/>

<script language="JavaScript" type="text/javascript">
document.write("Number of automatic refreshes: " + hitCt + " ")

Test Script Code

expireDate = new Date expireDate.setMonth(expireDate.getMonth()+6) hitCt = eval(cookieVal("pageHit")) hitCt++ document.cookie = "pageHit="+hitCt+";expires=" + expireDate.toGMTString() function cookieVal(cookieName) { thisCookie = document.cookie.split("; ") for (i=0; i<thisCookie.length; i++) { if (cookieName == thisCookie[i].split("=")[0]) { return thisCookie[i].split("=")[1] } } return 0 }


  1. HTML 4.01 specification for META
  2. HTML 4.01 specification for HTTP-EQUIV

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: 2004/12/23 15:52:06 $ by $Author: mcmay $