- From: Charles McCathieNevile <charles@w3.org>
- Date: Thu, 11 Jan 2001 21:08:35 -0500 (EST)
- To: WAI AU Guidelines <w3c-wai-au@w3.org>, WAI ER group <w3c-wai-er-ig@w3.org>
This came from Jon Gunderson, but I think it is extremely helpful information
to add to AERT 10.1.2 - a technique for ATAG 4.1, listed in Jan's November
draft available from the sources area.
--
Charles McCathieNevile mailto:charles@w3.org phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053, Australia
until 6 January 2001 at:
W3C INRIA, 2004 Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France
---------- Forwarded message ----------
Date: Wed, 10 Jan 2001 20:03:58 -0600
From: Jon Gunderson <jongund@uiuc.edu>
To: w3c-wai-ua@w3.org
Subject: ACTION ITEM: Things that can be recognized in scripting language
for vieport control
Resent-Date: Wed, 10 Jan 2001 21:02:22 -0500 (EST)
Resent-From: w3c-wai-ua@w3.org
There are seven main types of information that I think a user agent could
recognize in scripts that are associated with our checkpoints related to
control of viewports, focus, styling effects and form submission. Examples
for JavaScript are provided.
1. Opening a new window
for Javascript:
myWindow.open("www.w3.org", "My New Window");
myWindow.showHelp(URI);
2. Closing a window
for Javascript:
myWindow.close()
3. Changing focus to another window
For Javascript:
myWindow.focus();
4. Changing the URI rendered in the current view port
For Javascript:
myWindow.home();
myWindow.forward();
myWindow.back();
myWindow.navigate("http://www.w3.org");
myWindow.history.back();
myWindow.history.forward();
myWindow.history.go( -2 );
location.href = "http://www.w3.org"
location.reload();
location.replace("http://www.w3.org");
5. Submitting forms:
For Javascript:
document.form[0].submit();
document.all.mySubmitButton.click();
6. Controlling the start and speed of scrolling for a MARQUEE element
for Javascript:
document.all.myBanner.start();
document.all.myBanner.scrollDelay = 100
7. Changes in style of an element:
document.all.myElement style.color = "red";
Jon Gunderson, Ph.D., ATP
Coordinator of Assistive Communication and Information Technology
Division of Rehabilitation - Education Services
MC-574
College of Applied Life Studies
University of Illinois at Urbana/Champaign
1207 S. Oak Street, Champaign, IL 61820
Voice: (217) 244-5870
Fax: (217) 333-0248
E-mail: jongund@uiuc.edu
WWW: http://www.staff.uiuc.edu/~jongund
WWW: http://www.w3.org/wai/ua
Received on Thursday, 11 January 2001 21:08:35 UTC