-
Notifications
You must be signed in to change notification settings - Fork 2.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
WCAG 1.3.1: Ensures elements with an ARIA role that require child roles contain them (#DatePicker50-label). #14461
Comments
@smhigley FYI |
Hi @Payne-Yan, I've tried reproducing this in our website unsuccessfully but I see you are a few versions behind. Could you try with our latest version and reply back? Thanks! |
@khmakoto Repro steps
|
@Payne-Yan I've gone through the process once again and I just can't seem to repro this behavior as much as I try. Hence I'll be resolving this as |
@khmakoto According to my steps to reproduce, it can be reproduced. |
@khmakoto More importantly, it needs to pop up the calendar and then open accessibility insights for the web tools to reproduce this scene. |
@Payne-Yan it looks like this is because axe-core hasn't updated to the ARIA 1.2 combobox pattern, where the combobox role is on the input and associated with the listbox/grid/etc through In practice, this combobox pattern has much better screen reader support than the 1.1 pattern, so this should be a bug on axe-core and not on Fluent. |
Thanks for responding here @smhigley! @Payne-Yan given @smhigley's response I'm going to go ahead and resolve this as |
Yes, that seems to be the case. |
Yes, though it's slightly complicated by ARIA 1.2 still being a Working Draft and not a full recommendation. I still think axe-core should remove that required children combobox rule, though. The justifications would be:
I'd guess the working draft vs. recommendation thing is the reason they haven't removed it yet. I hadn't seen any issues on that before yours though, so I don't know what their stance on it is. |
@smhigley Their answer: axe-core issue: dequelabs/axe-core#2478 |
@smhigley Do you have any data to show support for either pattern? If you're right about this, that's definitely something we should change in axe-core. I do think there are some issues with how the data picker is implemented. Users need |
@WilcoFiers If you don't mind, I'm going to answer this over in the axe-core thread, since it's not specific to Fluent :) |
Thanks for all your support @smhigley! |
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fluent UI! |
Could you please solve this issue on the official website first? We can make a reference. |
@khmakoto Could you please solve this issue on the official website first? |
Hey @Payne-Yan, what do you mean by solving this on the official website first? |
@khmakoto The date picker on the https://developer.microsoft.com/en-us/fluentui#/controls/web/datepicker is solved first. |
@Payne-Yan, like explained by @smhigley, this happens because axe-core does not support the 1.2 standard yet. I don't think there's an actionable item on our side regarding this issue. |
@khmakoto On the official website, click Accessibility Insights for Web tool, the pop-up box of date picker is closed directly, there is no way to reproduce it. Did you update again? |
Environment Information
Describe the issue:
Ensures elements with an ARIA role that require child roles contain them
Element path
#DatePicker178-label
Snippet
How to fix
Fix the following
Required ARIA child role not present: listbox
Actual behavior:
elements with an ARIA role that requires child roles do not contain them (#DatePicker50-label).
Expected behavior:
ensures elements with an ARIA role that require child roles contain them (#DatePicker50-label).
Documentation describing expected behavior
The text was updated successfully, but these errors were encountered: