#15466 closed defect (fixed)
[patch][ccla]dijit.form.Select WAI-ARIA role should be listbox not combobox
Reported by: | mikeb | Owned by: | mikeb |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8 |
Component: | Accessibility | Version: | 1.7.2 |
Keywords: | Cc: | Douglas Hays, cjolif | |
Blocked By: | Blocking: |
Description
The dijit.form.Select has role=combobox but is more suited to a role=listbox since it generally doesn't accept user input and only provides a list of options.
Attachments (1)
Change History (10)
comment:1 Changed 9 years ago by
Component: | Dijit - Form → Accessibility |
---|---|
Milestone: | tbd → 1.8 |
Owner: | changed from Douglas Hays to mikeb |
comment:2 Changed 9 years ago by
Cc: | Douglas Hays added |
---|
comment:3 Changed 9 years ago by
Cc: | cjolif added |
---|
comment:4 Changed 9 years ago by
comment:5 Changed 9 years ago by
After applying this patch, SelectMenu? now has 2 nodes with role=listbox
Changed 9 years ago by
Attachment: | a11ySelectAsRoleListbox.patch added |
---|
fixes the drop downs with two nodes with role=listbox
comment:7 Changed 9 years ago by
In the patch, please dont remove this line: n.setAttribute("role", "presentation"); from form/Select.js (_selectMenu) It was accidentally removed when I created the patch. Thanks Doug
Note: See
TracTickets for help on using
tickets.
Doug, I assume you'll check this in?