WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Making minues Accessible


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:

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