Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
8.06k stars 2.24k forks source link

Is the calendar accessible to screen readers? #4811

Open aleshh opened 4 months ago

aleshh commented 4 months ago

Discussed in https://github.com/Hacker0x01/react-datepicker/discussions/4755

Originally posted by **aleshh** May 2, 2024 I've been alerted by a VoiceOver user that the calendar popup makes it impossible to consistently select dates. I'm not an experienced VO user, but in my testing I was able to confirm: I can navigate the calendar with regular arrow keys, but in VoiceOver mode the VO direction keys to not successfully navigate the calendar. This seems to be a serious accessibility issue, highlighted in [this issue back in 2020](https://github.com/Hacker0x01/react-datepicker/issues/2003) and apparently is ongoing. Can anyone confirm whether this is an issue, or provide any more information?
martijnrusschen commented 4 months ago

There have been several improvements in the past to optimize for screen readers. I don't see a reason why it wouldn't work. I'm open to contributions for areas that could use some improvement.

pciarach commented 1 month ago

I have noticed the same after upgrading to the newest version from 6.9.0. Previously when using keyboard arrows, the date was focused thus screen reader (NVDA in my case) could announce it but right now, it seems that only the internal state is updated.