duetds / date-picker

Duet Date Picker is an open source version of Duet Design System’s accessible date picker. Try live example at https://duetds.github.io/date-picker/
https://www.duetds.com
MIT License
1.73k stars 68 forks source link

Input and button are not announced when used with VoiceOver + Chrome #99

Open dimazawr opened 2 years ago

dimazawr commented 2 years ago

Describe the bug When date-picker is used together with VoiceOver and Chrome on macOS input and button label get announced just once, but not when the date is selected.

To Reproduce Steps to reproduce the behavior:

  1. Switch on VoiceOver and open Chrome
  2. Navigate to date-picker with keyboard
  3. Open date-picker via button
  4. Select date
  5. Listen that VoiceOver announces "Selected, menu 9 items, .."
  6. Navigate with keyboard to any other element on the page
  7. Navigate back to date-picker input or button
  8. Confirm that neither labels or value are getting announced.

Expected behavior Would be nice to hear the labels and selected value, what if user navigates back and forth after choosing the date for the first time?

Desktop (please complete the following information):

Additional context Works in Firefox and Safari