Opened 7 years ago

Closed 7 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)

DropDownButton.html.patch (470 bytes) - added by mikeb 7 years ago.
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

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by mikeb

Attachment: DropDownButton.html.patch added

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

comment:1 Changed 7 years ago by Douglas Hays

Milestone: tbd1.8.2

comment:2 Changed 7 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

In [29814]:

Fixes #16092. Add role=presentation to hidden INPUT in DropDownButton? template.

Note: See TracTickets for help on using tickets.