[Bug 22165] role=menuitem not allowed on li

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22165

Bruno Racineux <bruno@hexanet.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |bruno@hexanet.net,
                   |                            |mike+validator@w3.org
         Resolution|FIXED                       |---
              Flags|                            |needinfo?(mike+validator@w3
                   |                            |.org)

--- Comment #2 from Bruno Racineux <bruno@hexanet.net> ---
(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">

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 17 July 2015 02:59:43 UTC