WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Best practice for warning users of opening window

for

From: Paul Collins
Date: Aug 12, 2005 11:12AM


>> Add to that scenario that people like myself block ALL popups (I use
>> Firefox and adblock) and it makes sense to consider your audience.

>> How does that help sighted users? I like to know that its a popup - I
>> may choose to open in a tab instead.

Very good points,

The popup scripting has been added to the "onclick" function and not the HREF, which seems to work in the instances of having Javascript turned off as well as right clicking and opening the window in a new tab through my testing. The line of code I am using is:

<a onclick="popUp(this.href,'fixedscroll');return false;" href="thepage.html" title="the page &#45; this link will open in a new window if your browser allows popups"></a>

Using this method, I assumed the fallback if you had popups turned off would be the same as having Javascript turned off, meaning it would simply open in the same window.

If I am incorrect here please let me know.

Thanks again for your good points.

----- Original Message -----
From: Robinson, Norman B - Washington, DC
To: WebAIM Discussion List
Sent: Friday, August 12, 2005 3:41 PM
Subject: RE: [WebAIM] Best practice for warning users of opening window


Add to that scenario that people like myself block ALL popups (I use
Firefox and adblock) and it makes sense to consider your audience.

-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of ben morrison
Sent: Friday, August 12, 2005 10:31 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Best practice for warning users of opening window


> I think using the image thing isn't a bad idea at all. Using the same
> principle, as suggested earlier, we could add a span with the text
> inside, but hidden off the page, eliminating the use of a graphic.

How does that help sighted users? I like to know that its a popup - I
may choose to open in a tab instead.

Address list
messages to <EMAIL REMOVED>