W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2015

[Bug 22165] role=menuitem not allowed on li

From: <bugzilla@jessica.w3.org>
Date: Fri, 17 Jul 2015 02:59:39 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-22165-169-AUDDUerAFH@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Friday, 17 July 2015 02:59:44 UTC