W3C home > Mailing lists > Public > public-html-a11y@w3.org > January 2014

Re: is role=menubar NOT for navigation menus.

From: Richard Schwerdtfeger <schwer@us.ibm.com>
Date: Tue, 14 Jan 2014 17:28:03 -0600
To: David MacDonald <david100@sympatico.ca>
Cc: "'Janina Sajka'" <janina@rednote.net>, kirsten@can-adapt.com, public-html-a11y@w3.org
Message-ID: <OF14B322F7.26A05D8A-ON86257C60.0080428F-86257C60.0080E938@us.ibm.com>

Hi David,

I think what they are saying is that it should not be used when you have a
site navigation region:

<nav aria-labelledby="foo">
<h1 id="foo">Site Navigation</h1>
<a href="xxx">WAI-ARIA Home Page</a>
<a href="zzz">Janina's accessibility corner</a>
...
</nav>

Really a menubar is a sequence of menu items, most of which cause a
submenu, to be rendered.  menuitems perform an action. With these types of
widgets you are trying to categorize and hide functions until you are ready
to use them.

I think the authoring practices should change as I agree with the person.

Here is the WAI-ARIA definition of a menubar:
http://www.w3.org/WAI/PF/aria/roles#menubar

Great to hear from you! Will you be at the PF face to face in Toronto?

Cheers,
Rich


Rich Schwerdtfeger



From:	David MacDonald <david100@sympatico.ca>
To:	"'Janina Sajka'" <janina@rednote.net>,
            <public-html-a11y@w3.org>, Richard
            Schwerdtfeger/Austin/IBM@IBMUS
Cc:	<kirsten@can-adapt.com>
Date:	01/14/2014 04:59 PM
Subject:	is role=menubar NOT for navigation menus.




Hmmmm... I may have answered my own question

The PF best practices doc seems to talk about a links menu freely in this
context. http://www.w3.org/TR/wai-aria-practices/#menu

Thoughts?

========

Hi Rich and Janina, et al

I'm addressing a bug filed in the Using WAI-ARIA in HTML 5 document.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23970

 http://rawgithub.com/w3c/aria-in-html/master/index.html

It is suggesting that menubar not be used on link navigation menus because
the spec says it is for role=menubar should act like windows and Mac
applications menus that have a selection of commands.
http://www.w3.org/TR/wai-aria/roles#menubar

A lot of accessible navigation menus have added that role=menubar, with
menuitems on mega menus etc... Apparently not making a distinction between
navigation menus application menus.

I wonder if there is anybody around who was sitting in the meetings when
they were writing up that document. If so would you say that was the
intention of the PF at the time, to limit the menubar application type
functionality rather than the menubar for navigation functionality? I'm
planning on adding a section to the document that discourages using menubar
on navigation menus. But want to ensure that that was really the intent of
the PF team when they wrote that section.

Cheers,
David MacDonald

CanAdapt Solutions Inc.
Tel:  613.235.4902
http://ca.linkedin.com/in/davidmacdonald100
www.Can-Adapt.com

  Adapting the web to all users
            Including those with disabilities








graycol.gif
(image/gif attachment: graycol.gif)

Received on Tuesday, 14 January 2014 23:28:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:37 UTC