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(select): use a native input to fix a11y issues with axe and screen readers #22494
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- don't announce checkbox as being inside of another checkbox - properly announce when checked - expand footprint so the selected box surrounds the label too
only tested and verified as reading properly by VoiceOver in macOS
Testing with this sample app: https://github.com/kensodemann/demo-select After installing @ionic/angular@5.5.0-dev.202011161545.562f8b9 and re-serving, I get two ion-alert's each time I clicked the first select. |
@kensodemann Good catch! This will be fixed by 0f7cd93 |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dev build:
5.5.0-dev.202011162250.f4787b5
Similar to #22477 and #22402
Intends to fix #21552 and #21548
Tested and verified that it works in the following:
Issues:
aria-haspopup
and cannot be made less specificsubMenu
andmenu
is a known issue of theirs, see NVDA does not recognize the ARIA 1.1 values of aria-haspopup nvaccess/nvda#8235 and Clarify usage of aria-haspopup w3c/aria#1024