W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2012

Officially suggested keyboard interaction for sub-menu items in the "navigation"?

From: Ian Yang <ian@invigoreight.com>
Date: Sat, 28 Jul 2012 20:02:16 +0800
Message-ID: <CABr1FscybKOFMVCT8Rp0mME_zs9MH8OC8+_JGN2VdZ1xhVysWQ@mail.gmail.com>
To: w3c-wai-ig@w3.org
Hi everyone,

In order to make sub-menu itmes in the navigation (role="navigation")
keyboard navigable, I was changing them into "menubar", "menu", and
"menuitems" (by using a jQuery
plug-in<http://view.jqueryui.com/menubar/demos/menubar/default.html>)
to add keyboard shortcuts on them.

However, as defined in the spec<http://www.w3.org/WAI/PF/aria-practices/#menu>,
when opening such a sub-menu, vendors should "places focus on the first
menu item". (please see the jQuery page for demo) Maybe that's fine for
assistive technologies to automatically focus the first sub-menu item, but
that is likely to confuse mouse users. For the navigation, the first
sub-menu item shouldn't get focused before mouse users move their mouse
cursor onto it.

That makes me re-think if it is really appropriate to use "menubar",
"menu", and "menuitems" in the navigation.

So if there is officially suggested keyboard interaction specifically for
sub-menus of the "navigation" rather than using the one for "menubar",
"menu", and "menuitems"? If not, wouldn't the above mentioned auto focus
thing confuse mouse users?


Sincerely,
Ian Yang
Received on Saturday, 28 July 2012 12:02:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:30 UTC