[Bug 23027] ARIA: select and option should allow role overrides of menu and menuitem

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

--- Comment #4 from steve faulkner <faulkner.steve@gmail.com> ---
(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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Saturday, 28 June 2014 11:51:47 UTC