WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Best practice for warning users of opening window

for

From: Patrick Lauke
Date: Aug 12, 2005 11:12AM


> Robinson, Norman B - Washington, DC

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

If coded properly, the links would still work despite popup blocking,
provided that the javascript used checks for the return value of the
window.open call a la

<a href="blah.html" onclick="return !window.open(this.href,...)">

Also: would FF/adblock prevent the link from working even if the popup
was triggered by an explicit user action (activating a link, rather
than an onload event on the page body)?

Patrick
___________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
___________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
___________