W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2001

Re: Clarification sought on checkpoint 10.1

From: Wendy A Chisholm <wendy@w3.org>
Date: Wed, 30 May 2001 19:30:37 -0400
Message-Id: <4.2.0.58.20010530191607.00afe100@localhost>
To: Graham Oliver <graham_oliver@yahoo.com>, w3c-wai-ig@w3.org
Hello,

I think others have clarified the intent of the second part of 10.1.  There 
have also been a few suggestions on the list about how to warn users if a 
new window will pop up or other ways to give the user control.

Here are two other neat ideas that I've seen (content solutions rather than 
user agent):

1. On a personal Web site, I saw a short javascript that will let the use 
decide if windows are to open in a new window or not.  The user selects a 
checkbox.  This obviously only works if scripts are loaded.  Note that the 
default is not to open a new window.  I think this is really elegant. 
Here's the script:
<script language="Javascript">
// thanks to blogger
function targetLinks(boNew)
{
if (boNew)      where = "_blank";
else where = "_self";
for (var i=0; i<=(document.links.length-1); i++)
{
document.links[i].target = where;
}
}
//--></script>

One of the first things on the page is a checkbox:
<input type="checkbox" name="targetnew" onclick="targetLinks(this.checked)">

2. Optavia [1] let's the user know when they will go to a different site by 
using an image with alt-text within the link.  You could do something 
similar, but say "will open in new window." Actually, Optavia does this but 
can't find an instance of it on their site (on a really quick skim of the 
site).

Hope this helps,
--wendy

[1] http://www.optavia.com/rnd.htm
At 11:22 PM 5/29/01 , Graham Oliver wrote:
>Checkpoint 10.1 states
>'Until user agents allow users to turn off spawned
>windows, do not cause pop-ups or other windows to
>appear and do not change the current window without
>informing the user.'
>
>looking for clarification on the second part 'do not
>change the current window without informing the user.'
>
>Can someone tell me what this means please
>
>Cheers
>Graham Oliver
>
>=====
>'Making on-line information accessible'
>Mobile Phone : 025-919-724
>Work Phone : 09 846 6995
>AIM ID : grahamolivernz
>
>____________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
>or your free @yahoo.ie address at http://mail.yahoo.ie

--
wendy a chisholm
world wide web consortium
web accessibility initiative
seattle, wa usa
tel: +1 206.706.5263
/--
Received on Wednesday, 30 May 2001 19:25:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:55 GMT