This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23027 - ARIA: select and option should allow role overrides of menu and menuitem
Summary: ARIA: select and option should allow role overrides of menu and menuitem
Status: ASSIGNED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML a11y API spec bugbot
URL:
Whiteboard:
Keywords: a11y
Depends on:
Blocks: 23085
  Show dependency treegraph
 
Reported: 2013-08-20 20:41 UTC by James Craig
Modified: 2016-04-14 14:36 UTC (History)
9 users (show)

See Also:


Attachments

Description James Craig 2013-08-20 20:41:36 UTC
ARIA: select and option should allow role overrides of menu and menuitem

See related bug 23026.
Comment 2 steve faulkner 2014-04-17 08:46:03 UTC
(In reply to James Craig from comment #0)
> ARIA: select and option should allow role overrides of menu and menuitem
> 
> See related bug 23026.

Hi james, can you provide some example or reasoning for allowing this?
Comment 3 James Craig 2014-05-12 19:24:05 UTC
(In reply to steve faulkner from comment #2)
> (In reply to James Craig from comment #0)
> > ARIA: select and option should allow role overrides of menu and menuitem
> > 
> > See related bug 23026.
> 
> Hi james, can you provide some example or reasoning for allowing this?

How about this?

<select role="menu">
  <option role="menuitem">Open</option>
  <option role="menuitem">Move</option>
  <option role="menuitem">Delete</option>
</select>
Comment 4 steve faulkner 2014-06-28 11:51:45 UTC
(In reply to James Craig from comment #3)
> (In reply to steve faulkner from comment #2)
> > (In reply to James Craig from comment #0)
> > > ARIA: select and option should allow role overrides of menu and menuitem
> > > 
> > > See related bug 23026.
> > 
> > Hi james, can you provide some example or reasoning for allowing this?
> 
> How about this?
> 
> <select role="menu">
>   <option role="menuitem">Open</option>
>   <option role="menuitem">Move</option>
>   <option role="menuitem">Delete</option>
> </select>


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.
Comment 5 Charles McCathieNevile 2016-04-14 14:36:39 UTC
Steve, is this fixed already, as you suggest below?