WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: popup windows

for

Number of posts in this thread: 10 (In chronological order)

From: Lee, Samson (NIH/NIDCR)
Date: Fri, Feb 20 2004 7:51AM
Subject: popup windows
No previous message | Next message →

I know that popup windows that are generated during the page load are
incompliant with Section 508, but how about the ones that get generated by
clicking links? Do they also violate the rule?


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Jon Gunderson
Date: Fri, Feb 20 2004 7:55AM
Subject: Re: popup windows
← Previous message | Next message →

The least you should do is include information in the link text that you
will be opening a new window.

Jon


At 09:42 AM 2/20/2004 -0500, you wrote:
>I know that popup windows that are generated during the page load are
>incompliant with Section 508, but how about the ones that get generated by
>clicking links? Do they also violate the rule?
>
>
>----
>To subscribe, unsubscribe, suspend, or view list archives,
>visit http://www.webaim.org/discussion/

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: = EMAIL ADDRESS REMOVED =

WWW: http://cita.rehab.uiuc.edu/
WWW: http://www.staff.uiuc.edu/~jongund



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Andrew Kirkpatrick
Date: Fri, Feb 20 2004 8:38AM
Subject: RE: popup windows
← Previous message | Next message →

> I know that popup windows that are generated during the page
> load are incompliant with Section 508, but how about the ones
> that get generated by clicking links? Do they also violate the rule?

Which rule are you talking about? Guideline 10.1 of the WCAG speaks to
pop-up windows, but I don't believe this to part of 508.

Similarly, pop-up windows from links don't violate it either. They are very
avoidable, so you should, but not because of 508.

Ex:
<a href="foo.html"
onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
false;">link text</a>

AWK



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Ben Morrison
Date: Fri, Feb 20 2004 8:46AM
Subject: Re: popup windows
← Previous message | Next message →

On 20/2/04 3:31 pm, "Andrew Kirkpatrick" < = EMAIL ADDRESS REMOVED = >
wrote:

> Which rule are you talking about? Guideline 10.1 of the WCAG speaks to
> pop-up windows, but I don't believe this to part of 508.
>
> Similarly, pop-up windows from links don't violate it either. They are very
> avoidable, so you should, but not because of 508.
>
> Ex:
> <a href="foo.html"
> onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
> false;">link text</a>

You should use the pop up address as the url - incase javascript is turned
off.

<a href="popup.html"
onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
false;">link text</a>

ben



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Tim Beadle
Date: Fri, Feb 20 2004 9:11AM
Subject: Re: popup windows
← Previous message | Next message →

On Fri, Feb 20, 2004 at 03:38:17PM +0000, Ben Morrison wrote:
> You should use the pop up address as the url - incase javascript is turned
> off.
>
> <a href="popup.html"
> onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
> false;">link text</a>

Even better:
<a href="popup.html"
onclick="javascript:NewWindow(this.href,'popup',300,400,1);return
false;">link text</a>

Then you only have to change the href once, should it need to change.

Tim
--
"Internet Explorer is like a box of chocolates. You never know what you're
gonna get." -- Sjors


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Keith Patton
Date: Fri, Feb 20 2004 9:18AM
Subject: RE: popup windows
← Previous message | Next message →

Hi,
Don't forget to also include onkeypress as well as onlick, i double up all
these type of links to make sure they work with keyboard and mice.

Keith Patton
Technical Director
Ethical Media
www.ethicalmedia.com


-----Original Message-----
From: Tim Beadle [mailto: = EMAIL ADDRESS REMOVED = ]
Sent: 20 February 2004 16:02
To: = EMAIL ADDRESS REMOVED =
Subject: Re: popup windows


On Fri, Feb 20, 2004 at 03:38:17PM +0000, Ben Morrison wrote:
> You should use the pop up address as the url - incase javascript is turned
> off.
>
> <a href="popup.html"
> onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
> false;">link text</a>

Even better:
<a href="popup.html"
onclick="javascript:NewWindow(this.href,'popup',300,400,1);return
false;">link text</a>

Then you only have to change the href once, should it need to change.

Tim
--
"Internet Explorer is like a box of chocolates. You never know what you're
gonna get." -- Sjors


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Jared Smith
Date: Fri, Feb 20 2004 9:32AM
Subject: Re: popup windows
← Previous message | Next message →

> Don't forget to also include onkeypress as well as onlick

In all up-to-date browsers that I have tested, onkeypress is not
necessary as long as the javascript is associated with a hypertext
link or form control. They all trigger the onclick event, even though
the keyboard is used. You would probably only need both onclick and
onkeypress if you're working with something that is not natively
'clickable' (i.e., <TH>, <P>, etc.).

Jared Smith
WebAIM (Web Accessibility In Mind)
Center for Persons with Disabilities
Utah State University


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Andrew Kirkpatrick
Date: Fri, Feb 20 2004 9:44AM
Subject: RE: popup windows
← Previous message | Next message →


> You should use the pop up address as the url - incase
> javascript is turned off.
>
> <a href="popup.html"
> onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
> false;">link text</a>

Right. My bad. The href and link inside the javascript call need to be the
same. This points to the utility of Tim's comment about using this.href,
since the issue in my code snippet was created by changing one value but not
the other.
AWK



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Andrew Kirkpatrick
Date: Fri, Feb 20 2004 10:30AM
Subject: RE: popup windows
← Previous message | Next message →

> In all up-to-date browsers that I have tested, onkeypress is
> not necessary as long as the javascript is associated with a
> hypertext link or form control. They all trigger the onclick
> event, even though the keyboard is used. You would probably
> only need both onclick and onkeypress if you're working with
> something that is not natively 'clickable' (i.e., <TH>, <P>, etc.).

onkeypress should help you once you are on the link, but in order to get the
secondary image to appear for the link in question, you need to use onfocus.

AWK



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: Sachin Pavithran
Date: Fri, Feb 20 2004 2:30PM
Subject: Re: popup windows
← Previous message | No next message

From a Jaws users prospective, I think its OK to have a pop up window by
clicking on a link, as long as it is to give a brief description of
something which is related to that link. I personally wouldn't prefer to
have the pop up window take me deeper and deeper through other links within
the pop up window. This would just confuse me and make me lose my placement
on the website.




******************************************************

Sachin Dev Pavithran
Training and Development Specialist
Center for Persons with Disabilities
6800 Old Main Hill,
Logan, Ut - 84322
U.S.A.

Work Phone : 1-(435)-797 0974

Email : = EMAIL ADDRESS REMOVED =

Visit Us at http://www.cpd.usu.edu

******************************************************

----- Original Message -----
From: "Lee, Samson (NIH/NIDCR)" < = EMAIL ADDRESS REMOVED = >
To: < = EMAIL ADDRESS REMOVED = >
Sent: Friday, February 20, 2004 7:42 AM
Subject: popup windows


> I know that popup windows that are generated during the page load are
> incompliant with Section 508, but how about the ones that get generated by
> clicking links? Do they also violate the rule?
>
>
> ----
> To subscribe, unsubscribe, suspend, or view list archives,
> visit http://www.webaim.org/discussion/
>
>


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/