-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Determine if date picker's calendar grid should act more like a modeless dialog #5573
Comments
The Deque example behaves very much like the APG DatePicker Dialog example. However, they use different markup. The Deque example uses role="application", which doesn't convey the idea that "you're in a dialog and the tab key is trapped". It also doesn't let screen readers use their reading keys to navigate around the dialog, but maybe that's not necessary, as the tab key and arrow keys work ok. The APG DatePicker dialog example uses You could consider asking some real users to try both examples to see which one they prefer. Alternatively, you could consider implementing the datepicker as a combobox. The APG task force is working on an example of a DatePicker combobox. It's not finished yet, but it's getting close. There are so many date pickers that claim to be accessible that it's hard to know which pattern to follow. :) |
Here is the DatePicker combobox example: https://w3c.github.io/aria-practices/examples/combobox/combobox-datepicker.html It's very similar to the Carbon DatePicker but a few notable improvements:
|
@grahamharper both of those enhancements make sense to me, wondering if these are some small a11y wins we could add in to improve the Datepicker UX @dakahn? |
Let's do it 👍🏽 I don't see any downsides |
Seeing as issue was closed, what was the outcome? |
Any update on plans to implement this or not? Our team is particularly interested in:
Our team could possibly offer dev assistance if needed. |
Hi @dakahn, any information on the outcome of this ticket would be appreciated, as I see it has been closed. Moreover Thanks in advance |
In #5445, @dakahn had a comment referring to https://dequeuniversity.com/library/aria/date-pickers/sf-date-picker as a benchmark of our date picker UI.
Some notable things in dequeuniversity.com's behavior are:
Above two makes the dequeuniversity.com's UI acts more like a modeless dialog, though the grid doesn't seem to have such ARIA role.
This issue is to discuss if we should incorporate that behavior in part or a whole. Determining that requires our @carbon-design-system/design's input.
CC @carmacleod @snidersd
The text was updated successfully, but these errors were encountered: