-
Notifications
You must be signed in to change notification settings - Fork 784
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
fix false positive related to role="combobox" #160
Comments
The solution should be the following: If the element on which the role has been placed is a native input element, then make the required children optional |
I raised this issue on html-aria and Steve Faulkner got back on it. We have a different issue. Axe has two 'types' of 'owned' propertyes, 'all' and 'one'. All means every one of the roles is required, one means just one of them. ARIA doesn't actually ever require all children to be present. combobox is the only role in Axe which is set to require multiple children. Other uses of 'all' only has one role. The fix is to change this to 'one'. Though I think it's probably better to also remove this difference all together as it adds unnecessary complexity. |
If there is a combobox implementation that does not use a standard input element and also does not have a textbox child, then this will have severe compatibility issues when a screen reader is turned on. For that reason, I think we should still raise the issue if there is no native element (note: this would be a temporary solution until the issue gets resolved in ARIA). |
Hey @dylanb, any updates on this? Does the previously mentioned solution still apply? |
Hi, what's the current situation with this? I'm running into this issue with automated testing. |
Proposed solution: #481 |
…mbobox missing textbox Remove textbox from the list of missing roles when checking a combobox node that is a native input element #160
…mbobox missing textbox Remove textbox from the list of missing roles when checking a combobox node that is a native input element #160
Fixed with #481. |
Has been reported in dequelabs/axe-firefox-devtools#33
The text was updated successfully, but these errors were encountered: