react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

Unclear aria-label for Month List Box in DatePicker Component

Open devevignesh opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. There is an accessibility issue with the month list box in the date picker; screen reader users may not understand the label with aria-label="month 2024-02" found in month.jsx

Describe the solution you'd like It would be better if it were changed to aria-label="month February 2022". According to w3.org, the benefits include

When headings and labels are also correctly marked up and identified in accordance with 1.3.1: Info and Relationships, this Success Criterion helps people who use screen readers by ensuring that labels and headings are meaningful when read out of context.

devevignesh avatar Feb 19 '24 05:02 devevignesh