<?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>23027</bug_id>
          
          <creation_ts>2013-08-20 20:41:36 +0000</creation_ts>
          <short_desc>ARIA: select and option should allow role overrides of menu and menuitem</short_desc>
          <delta_ts>2016-04-14 14:36:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>23085</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="James Craig">jcraig</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>chaals</cc>
    
    <cc>mark.sadecki+w3c</cc>
    
    <cc>mike</cc>
    
    <cc>pcotton</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-bugzilla</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>shane</cc>
          
          <qa_contact name="HTML a11y API spec bugbot">sideshowbarker+html-a11y-api</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92387</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-08-20 20:41:36 +0000</bug_when>
    <thetext>ARIA: select and option should allow role overrides of menu and menuitem

See related bug 23026.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92465</commentid>
    <comment_count>1</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-08-22 17:48:45 +0000</bug_when>
    <thetext>http://www.w3.org/TR/html5/dom.html#sec-implicit-aria-semantics</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104016</commentid>
    <comment_count>2</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-17 08:46:03 +0000</bug_when>
    <thetext>(In reply to James Craig from comment #0)
&gt; ARIA: select and option should allow role overrides of menu and menuitem
&gt; 
&gt; See related bug 23026.

Hi james, can you provide some example or reasoning for allowing this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105747</commentid>
    <comment_count>3</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2014-05-12 19:24:05 +0000</bug_when>
    <thetext>(In reply to steve faulkner from comment #2)
&gt; (In reply to James Craig from comment #0)
&gt; &gt; ARIA: select and option should allow role overrides of menu and menuitem
&gt; &gt; 
&gt; &gt; See related bug 23026.
&gt; 
&gt; Hi james, can you provide some example or reasoning for allowing this?

How about this?

&lt;select role=&quot;menu&quot;&gt;
  &lt;option role=&quot;menuitem&quot;&gt;Open&lt;/option&gt;
  &lt;option role=&quot;menuitem&quot;&gt;Move&lt;/option&gt;
  &lt;option role=&quot;menuitem&quot;&gt;Delete&lt;/option&gt;
&lt;/select&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108465</commentid>
    <comment_count>4</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-06-28 11:51:45 +0000</bug_when>
    <thetext>(In reply to James Craig from comment #3)
&gt; (In reply to steve faulkner from comment #2)
&gt; &gt; (In reply to James Craig from comment #0)
&gt; &gt; &gt; ARIA: select and option should allow role overrides of menu and menuitem
&gt; &gt; &gt; 
&gt; &gt; &gt; See related bug 23026.
&gt; &gt; 
&gt; &gt; Hi james, can you provide some example or reasoning for allowing this?
&gt; 
&gt; How about this?
&gt; 
&gt; &lt;select role=&quot;menu&quot;&gt;
&gt;   &lt;option role=&quot;menuitem&quot;&gt;Open&lt;/option&gt;
&gt;   &lt;option role=&quot;menuitem&quot;&gt;Move&lt;/option&gt;
&gt;   &lt;option role=&quot;menuitem&quot;&gt;Delete&lt;/option&gt;
&gt; &lt;/select&gt;


HTMl 5.1 says currently:

option element:

that is in a list of options of a select element with no multiple attribute and with a display size equal to 1 
	
default:
option role 
	
author constraints:
If specified, role must be one of the following: option, menuitem, menuitemradio, or separator


select element:

with no multiple attribute and with a display size equal to 1 	

default:
listbox role 	

author constraints:
Role must be either listbox or menu

http://www.w3.org/html/wg/drafts/html/master/dom.html#sec-implicit-aria-semantics

which appears to cover what you are asking for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125853</commentid>
    <comment_count>5</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2016-04-14 14:36:39 +0000</bug_when>
    <thetext>Steve, is this fixed already, as you suggest below?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>