WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Help with adding ACCESSKEY statements?

for

From: Jean-Michel Brevelle
Date: Feb 20, 2004 11:10AM


Thanks to everyone who took the time to answer my question and offer a
remedy to the problem. LOL! Of course, there seem to be some in favor and
some opposed to accesskey inclusion. I appreciate hearing from both sides.

:) Jean-Michel


-----Original Message-----
From: Keith Patton [mailto: <EMAIL REMOVED> ]
Sent: Friday, February 20, 2004 6:11 AM
To: <EMAIL REMOVED>
Subject: RE: Help with adding ACCESSKEY statements?


Hi there,

Here is an example of a link which has javascript functions called for
on/off state setting (remember to use keyboard friendly event triggers as
well as mouse only ones for accessibility reasons).

You then just need to add the accesskey reference as an attribute of the a
tag.

<a onmouseover="JSfunctionOn();" onfocus="JSfunctionOn();"
onmouseout="JSfunctionOff();" onblur="JSfunctionOff();" class="cssClass"
accesskey="1" href="../homepage/">

we just implemented accesskeys on our site, the details on which you can
view at: http://www.ethicalmedia.com/stories/accessingoursite/

Hope that helps,

Keith Patton
Technical Director
Ethical Media
www.ethicamedia.com



-----Original Message-----
From: Jean-Michel Brevelle [mailto: <EMAIL REMOVED> ]
Sent: 20 February 2004 09:41
To: <EMAIL REMOVED>
Subject: Help with adding ACCESSKEY statements?


Hello. This is my first message to the list.

I'm trying to add accesskey definitions to navigational links on a new web
site. It's my first attempt and I'm not doing so well with it.

I think the problem is a conflict between the accesskey statement and the
class definition -- the links are coded in javascript to highlight on
mouseover -- but as this is my first attempt, I'm not really sure.

Here is a sample statement:<a href="Default.htm" title="Return to this web's
Home Page" class="inactive" highlight>Home</a>

The statement otherwise does what it's supposed to do: the link highlights
and a link description appears.

Can anyone help me out with this? If you want to review the rest of the
script, just ask and I'll send it.

Much appreciated. Thanks!


Jean-Michel Brevelle
<EMAIL REMOVED>


**All outgoing mail is scanned using Norton Anti-Virus 2002 to ensure a
virus-free transmission **



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




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