#15959 closed defect (patchwelcome)
dijit.form.TimePicker: JAWS does not announce currently selected time when scrolling with keyboard
Reported by: | mikeb | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When the TimePicker? is activated and scrolled with the keyboard, JAWS does not announce the currently selected/hovered time.
I tried multiple things to fix this and had no luck:
- Added role="listbox" to the main drop down and role="option" to the items
- Set it so that the selected item gets aria-selected="true"
- Added aria-live="assertive" and aria-atomic="true" to the selected DOM node. This actually caused JAWS to speak the selected time of NEW time elements that are created and added to the DOM, but it did not work for the elements that are already there when the drop down opens
- Added aria-label to the listbox DOM and set that to be the selected value, but that didn't help
- Tried adding aria-label="{the value}" to the inner time elements
Additionally, when JAWS is active and you scroll through the times, it seems like JAWS scrolls 1-3 time elements at a time instead of one. This might be contributing to the issue.
Change History (3)
comment:1 Changed 8 years ago by
Component: | General → Dijit - Form |
---|---|
Owner: | set to Douglas Hays |
comment:2 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
comment:3 Changed 8 years ago by
Thanks Doug for pointing out the equivalent functionality and adding in that note in the documentation.
Note: See
TracTickets for help on using
tickets.
Changed the Accessibility section for
http://livedocs.dojotoolkit.org/dijit/form/TimeTextBox
to note that TimeTextBox still merits a11y compliance since you can type in the INPUT element directly, but obviously it would be nice to get a patch for this.