WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: popup windows

for

From: Andrew Kirkpatrick
Date: Feb 20, 2004 10:30AM


> 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/