E-mail List Archives

Re: Making minues Accessible

for

From: Heidi Jungel
Date: Nov 17, 2011 12:12PM


I second Vincent's comments.
I think the idea is to make sure you have onclick events (for javascript)
or click (for jQuery) as well as the mouseovers.
When the click event happens, set focus on the first item in the menu.
To exit the menu, you can do a couple of things:
1. The user can escape to close that menu
2. Or when the opened menu itself loses focus, then close that menu.

Here is one example that I can think of:
http://developer.yahoo.com/yui/examples/menu/menuwaiaria_source.html

It is using yui and WAI-ARIA, but may be useful and give you a place to
start.