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

Is it okay to apply "menubar" role, ... etc and related keyboard shortcuts to the main navigation?

From: Ian Yang <ian.html@gmail.com>
Date: Tue, 3 Jul 2012 19:42:30 +0800
Message-ID: <CAFhBhuNaqEa_KmSQ1RNtb-eZOHb_iKdxZaMim07qkgmbqCgsOw@mail.gmail.com>
To: w3c-wai-ig@w3.org
Usually <ul> and <li> elements in a WYSIWYG editor (role="application")
will be given ARIA roles "menubar", "menuitem", and "menu", and attributes
such as aria-haspopup="true". The application will also be applied some
keyboard shortcuts. Here is an demonstration:
http://oaa-accessibility.org/example/25/

Although these ARIA roles, attributes, and keyboard shortcuts are usually
applied to applications such as a WYSIWYG editor, they might be equally
useful when being applied to the main navigation (which has popup sub
menus) of a website.

However, I'm not sure if applying the above mentioned roles, attributes,
and keyboard shortcuts to the main navigation (role="navigation") will
cause confusions or problems to assistive technologies or not. And so far I
haven't seen any website do this to its main navigation.

Will it be a benefit or a problem when doing this to the main navigation?


Regards,
Ian
Received on Tuesday, 3 July 2012 11:42:58 UTC

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