W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2013

Re: Keyboard Accessibility of Drop Down Menus

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Thu, 03 Jan 2013 00:47:37 +0000
Message-ID: <50E4D529.1050904@splintered.co.uk>
To: w3c-wai-ig@w3.org
On 02/01/2013 23:57, Userite wrote:
> The pull-down sub-menu is hidden until the main
> menu item receives focus (:hover, :active and :focus pseudo-classes are
> required).

Do you have some example markup+css? The main problem I've always 
encountered is that, unlike :hover, :focus is lost as soon a user tabs 
into a child element, thus immediately hiding the submenu as soon as you 
move away from the main item that triggered its display. I've found no 
way around this other than using extra JS to "keep" the submenu open via 
an added class injected to the main item.

P
-- 
Patrick H. Lauke
______________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]

www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com | http://flickr.com/photos/redux/
______________________________________________________________
twitter: @patrick_h_lauke | skype: patrick_h_lauke
______________________________________________________________
Received on Thursday, 3 January 2013 00:48:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 January 2013 00:48:03 GMT