W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2000

Re: How do I make JavaScript "pop-up help" accessible?

From: Yuu Morita <yuu@os.rim.or.jp>
Date: Wed, 8 Nov 2000 16:28:17 +0900
Message-ID: <017e01c04955$76daea40$1300a8c0@yuu1>
To: <w3c-wai-ig@w3.org>
<a href="foobar.html" target="_blank" onclick="Help('foobar.html');return false;">Definition of foobar</a>

It is done that TARGET attribute is specified this by the reason because the state will be an intention of help and the display of
the page as pop up (Or, simultaneously with the body because it is likely to be intended if it is preferable that the help page is
displayed) by which the body does not disturb the flow.

Personally, though the act that it tries to examine the composition to become a flow of the site where the help page is not needed
will be taken.

----- Original Message -----
From: "David Woolley" <david@djwhome.demon.co.uk>
Sent: Tuesday, November 07, 2000 5:11 PM
Subject: Re: How do I make JavaScript "pop-up help" accessible?

> >
> > The pop-up is invoked by code like:
> > <A href="JavaScript:Help('foobar.htm')">definition of FooBar</A>
> This one is easy; unfortunately people normally copy other people's
> bad code.  It should be:
> > <A href="foobar.htm" onclick="Help('foobar.htm'); return false">definition of FooBar</A>
> The return false prevents the href being actioned in the original frame,
> when the script is run.
> I believe this works on all browsers that would have run the original.
> The correct approach to this was:  how do I augment and accessible
> version with a (javascript) control-less popup window.
> Note that one reason why target attributes are deprecated is that popups
> are considered a bad thing for usability (they represent too much
> power for the content provider compared with the user).
Received on Wednesday, 8 November 2000 02:28:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:10 UTC