<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22165</bug_id>
          
          <creation_ts>2013-05-26 14:33:24 +0000</creation_ts>
          <short_desc>role=menuitem not allowed on li</short_desc>
          <delta_ts>2015-07-17 04:41:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/html/wg/drafts/html/master/dom.html#wai-aria</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>bruno</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>mike+validator</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88233</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-05-26 14:33:24 +0000</bug_when>
    <thetext>I have updated the spec to allow role=menuitem on &lt;li&gt; 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 &lt;li role=&quot;menuitem&quot;&gt; thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89889</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-06-26 13:30:11 +0000</bug_when>
    <thetext>Fixed and pushed to the validator. Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122169</commentid>
    <comment_count>2</comment_count>
    <who name="Bruno Racineux">bruno</who>
    <bug_when>2015-07-17 02:59:39 +0000</bug_when>
    <thetext>(In reply to Michael[tm] Smith from comment #1)
&gt; 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.
&lt;li role=&quot;menuitem&quot; id=&quot;m72&quot;&gt;

It looks like the problem was addressed inside &lt;ul&gt; but not &lt;ol&gt;. 

Markup in question:

&lt;ul role=&quot;menubar&quot;&gt;
  &lt;li role=&quot;menuitem&quot; aria-haspopup=&quot;true&quot;&gt;
      &lt;a href=&quot;&quot; class=&quot;ma fp expand&quot;&gt;Sub-menu&lt;b class=&quot;caret&quot;&gt;&lt;/b&gt;&lt;/a&gt;
      &lt;ol role=&quot;menu&quot; class=&quot;mo&quot; aria-labelledby=&quot;m54&quot;&gt;
        &lt;li role=&quot;menuitem&quot; id=&quot;m72&quot;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122170</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-07-17 04:41:21 +0000</bug_when>
    <thetext>(In reply to Bruno Racineux from comment #2)
&gt; (In reply to Michael[tm] Smith from comment #1)
&gt; &gt; Fixed and pushed to the validator. Thanks
&gt; 
&gt; I am still getting an error on the last element of the markup below when in
&gt; a sub-menu.
&gt; 
&gt; Error: Bad value menuitem for attribute role on element li.
&gt; &lt;li role=&quot;menuitem&quot; id=&quot;m72&quot;&gt;
&gt; 
&gt; It looks like the problem was addressed inside &lt;ul&gt; but not &lt;ol&gt;. 

Yep. Thanks for catching it.

(re)Fixed now and pushed to https://validator.w3.org/nu/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>