Opened 8 years ago
Closed 8 years ago
#16092 closed defect (fixed)
[PATCH][CCLA] dijit.Form.DropDownButton: JAWS treats drop down button as two buttons
Reported by: | mikeb | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.2 |
Component: | Dijit - Form | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
While the <input type="button"> element that is the valueNode for dijit.form.Button includes role="presentaiton", it does not for dijit.form.DropDownButton?. This causes JAWS to count each dropDownButton as two buttons. You can see this behavior when JAWS encounters a role="toolbar" containing DropDownButtons?: it reports it is in a toolbar with twice as many DropDownButtons? as actually exist. For example, go to http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/editor/test_LinkDialog.html and listen. JAWS eventually reads "toolbar 22 buttons" instead of 20 buttons. The patch adds role="presentation" to the valueNode (just like on Button) so JAWS only counts one button per drop down.
Attachments (1)
Change History (3)
Changed 8 years ago by
Attachment: | DropDownButton.html.patch added |
---|
comment:1 Changed 8 years ago by
Milestone: | tbd → 1.8.2 |
---|
add role=presentation to DropDownButton? template so JAWS correctly counts it as one button, please proxy commit for Michael Billau CCLA on file with IBM