You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The current implementation of the Calendar component fails to update aria labels according to the selection purpose, leading to accessibility issues. The aria labels remain static, displaying "Choose Date" regardless of the selection type like showTimeInput or showTimeSelect or showTimeSelectOnly.
The Problem
The lack of dynamic aria labels hinders user accessibility, as it fails to provide clear information about the selection options available.
Proposed Solution
Implement functionality to update aria-label dynamically based on the selection purpose (date or date and time, or time only) to enhance user experience and accessibility.
To Reproduce
Render DatePicker with any time-related props and check aria-label of the element with the class react-datepicker.
The text was updated successfully, but these errors were encountered:
balajis-qb
pushed a commit
to qburst/react-datepicker-3
that referenced
this issue
Mar 20, 2024
Describe the bug
The current implementation of the
Calendar
component fails to update aria labels according to the selection purpose, leading to accessibility issues. The aria labels remain static, displaying "Choose Date" regardless of the selection type likeshowTimeInput
orshowTimeSelect
orshowTimeSelectOnly
.The Problem
The lack of dynamic aria labels hinders user accessibility, as it fails to provide clear information about the selection options available.
Proposed Solution
Implement functionality to update
aria-label
dynamically based on the selection purpose (date or date and time, or time only) to enhance user experience and accessibility.To Reproduce
Render DatePicker with any time-related props and check
aria-label
of the element with the classreact-datepicker
.The text was updated successfully, but these errors were encountered: