Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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:

  1. Added role="listbox" to the main drop down and role="option" to the items
  2. Set it so that the selected item gets aria-selected="true"
  3. 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
  4. Added aria-label to the listbox DOM and set that to be the selected value, but that didn't help
  5. 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 7 years ago by bill

Component: GeneralDijit - Form
Owner: set to Douglas Hays

comment:2 Changed 7 years ago by Douglas Hays

Resolution: patchwelcome
Status: newclosed

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.

comment:3 Changed 7 years ago by mikeb

Thanks Doug for pointing out the equivalent functionality and adding in that note in the documentation.

Note: See TracTickets for help on using tickets.