-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
🐛 Bug Report
The calendar button in the DateRangePicker has tabindex="-1", so you cannot navigate to it using the keyboard and there is no way to open the calendar control.
🤔 Expected Behavior
Tabbing past the date field inputs should focus the calendar button. The user could then activate the button to open the calendar. Once open, the calendar itself seems to work correctly with the keyboard.
😯 Current Behavior
Pressing tab from the last date input field bypasses the button and focuses on the next navigable item on the page.
💁 Possible Solution
Removing the tabindex property from the button should be all that is required.
🔦 Context
Without this feature, keyboard users must type in start and end dates longhand.
This is particularly burdensome if the component has minValue and/or maxValue defined, because those limits are only displayed inside the calendar. If the value violates those limits, the entire date range is marked as invalid. There is no indication which limit is violated or what the valid range is.
🧢 Your Company/Team
Adobe/Admin Console
