Opened 6 years ago

Last modified 6 years ago

#15091 open bug

selectmenu should probably not be a combobox

Reported by: Michael Fairchild Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.12.1
Keywords: accessibility Cc:
Blocked by: Blocking:

Description

My understanding of the selectmenu widget is that it exists to replace the default select form control as provided by browsers. However, jQuery UI is giving it a role="combobox", which according to the aria specification means that it MUST contain a textbox to allow searching the items in the selectmenu (see autocomplete). This could understandably lead to issues with screen readers and might even explain https://bugs.jqueryui.com/ticket/10407

See the selectmenu demo for an example: https://jqueryui.com/selectmenu/

See 1) https://www.w3.org/TR/wai-aria-1.1/#combobox 2) https://www.w3.org/TR/wai-aria-practices/#combobox

Change History (2)

comment:1 Changed 6 years ago by Scott González

Status: newopen

We should probably be using listbox.

comment:2 Changed 6 years ago by Scott González

Keywords: accessibility added
Note: See TracTickets for help on using tickets.