I have a drop down menu using keypress.js to make the menu accessible through tab key.
When the page displayed by the browser, pressing tab doesn't make the menu highlighted.
It only works if I hover the mouse on the menu first (to make the menu appear).
Has anyone get the same problem?
Thanks for the help,
keypress.js
Could you possibly post a test page so we can see what's happening? What do you mean by doesn't make the menu highlight unless you hover over it to make it appear? Are you talking about page highlighting are you talking about the submenus? When I try using it, it opens the submenus of the item when I use the tab. So, we'd need to see your page to see what is going on.
Ruth
Ruth
The keypress will still work when the menus are set to open on click, however to make it work when a menu is highlighted by keypress and has a submenu that opens on click, then the person has to hit enter to have it open. That means that you have to 1) somehow notify a person when they are on a menu with a submenu, and 2) that they have to hit enter to see the submenu.
In reality, though the keypress will work with openonclick if the above is done, you probably would be best to have the menus open on mouseover.
I don't know if it would be possible to have some kind of javascript function that would turn the openonclick property off if the menu is being perused by tab using the keyaccess, but that's something you might check out.
Ruth
In reality, though the keypress will work with openonclick if the above is done, you probably would be best to have the menus open on mouseover.
I don't know if it would be possible to have some kind of javascript function that would turn the openonclick property off if the menu is being perused by tab using the keyaccess, but that's something you might check out.
Ruth