WebAIM - Web Accessibility In Mind

E-mail List Archives

problem in adding hotKey in a button

for

From: Pradip Chandra Sikdar
Date: Aug 18, 2012 11:39PM


Dear all!

I am a completely visually challenged and not a professional web
designer. but I want to make my website as accessible as possible.
please help me in the following issue.

I have created some buttons which are connected to a java script. in my
webpage, the code of the button is as follows:

<button accesskey="1" id="tab1" role="button" aria-pressed="false"
title="home">

<span>home</span>

</button>

but the problem is, in jaws 12, it says me 2 think per button. for the
first time when I landed to the button it says "home button pressed",
and when I press my down arrow it says, "Alt+1 button pressed".

but in jaws13 this issue is not there. if I remove <span>home</span> in
jaws 12 it says correctly "home alt+1 button pressed", but in jaws 13 it
only says "alt+1 button pressed". I have also tried including a
value="home" inside the button attribute but no luck at all! the final
solution is to remove the accessKey="1" tag. but I strongly want to keep
the hotKey.

I know, it is a bug of jaws 12. but is there any way to get rid of it?

any help will be gladly appreciated!

sorry for my poor English.

--
Regards,
Pradip Chandra Sikdar
Director of Clavier Productions <http://clavierproductions.com>;
Sound Designer of Radio Bongonet <http://www.radiobongonet.com>;
Keyboard Player, Composer & Sound Editor of X-RaF <http://www.x-raf.com>;
(Experimental Raga and Folk
Catch me on Facebook <http://www.facebook.com/pradip.sikdar>;
Follow me on Twitter <http://www.twitter.com/pradeepsikdar>;
Website: www.clavierproductions.com <http://clavierproductions.com>;
E-mail: <EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
Skype: pradeep.sikdar
Mobile: +91-9883669711