This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I have updated the spec to allow role=menuitem on <li> as I believe it was an oversight that it was not listed as both menuitemcheckbox and menuitemradiobutton are allowed. I looked back at history of bugs /issues related to aria integration and could not find any discussion of it. when you get time can you modify the conformance rule to allow <li role="menuitem"> thanks!
Fixed and pushed to the validator. Thanks
(In reply to Michael[tm] Smith from comment #1) > Fixed and pushed to the validator. Thanks I am still getting an error on the last element of the markup below when in a sub-menu. Error: Bad value menuitem for attribute role on element li. <li role="menuitem" id="m72"> It looks like the problem was addressed inside <ul> but not <ol>. Markup in question: <ul role="menubar"> <li role="menuitem" aria-haspopup="true"> <a href="" class="ma fp expand">Sub-menu<b class="caret"></b></a> <ol role="menu" class="mo" aria-labelledby="m54"> <li role="menuitem" id="m72">
(In reply to Bruno Racineux from comment #2) > (In reply to Michael[tm] Smith from comment #1) > > Fixed and pushed to the validator. Thanks > > I am still getting an error on the last element of the markup below when in > a sub-menu. > > Error: Bad value menuitem for attribute role on element li. > <li role="menuitem" id="m72"> > > It looks like the problem was addressed inside <ul> but not <ol>. Yep. Thanks for catching it. (re)Fixed now and pushed to https://validator.w3.org/nu/