NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 740 - [aria] menuitem not allowed in menubar
[aria] menuitem not allowed in menubar
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: ARIA
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-30 12:55 CEST by Jacob Rask
Modified: 2013-04-20 19:24 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Rask 2010-04-30 12:55:47 CEST
An element with role=menuitem inside an element with role=menubar returns the following error:
"An element with role=menuitem requires role=menu on the parent."

This is incorrect, as the ARIA specification reads:
"menuitem (role)
An option in a group of choices contained by a menu or menubar."
<http://www.w3.org/TR/wai-aria/roles#menuitem>

An example with a menuitem in a menubar is even included in the ARIA specification.
Comment 1 Michael[tm] Smith 2013-04-20 19:24:16 CEST
Fixed. You can test at http://validator.w3.org/nu/