Skip to content
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
merged 67 commits into from Nov 20, 2020

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Nov 12, 2020

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:

  • VoiceOver macOS Chrome
  • VoiceOver macOS Safari
  • VoiceOver iOS
  • Android talkback
  • NVDA
  • axe
  • Lighthouse
Screenreader Browser Native Ionic
macOS VoiceOver Chrome Female, Gender, collapsed, button Female, Gender, collapsed, button
macOS VoiceOver Safari Female, Gender, popup button Female, Gender, list box pop up, button
iOS VoiceOver Safari Gender, Female, popup button Female, Gender, popup button, list box pop up
NVDA Chrome Gender combo box Female collapsed Female, Gender menu button collapsed subMenu
Android Talkback Chrome Checked female in list 2 items Female, Gender, popup button

Issues:

brandyscarney and others added 30 commits October 19, 2020 15:58
- don't announce checkbox as being inside of another checkbox
- properly announce when checked
- expand footprint so the selected box surrounds the label too
@github-actions github-actions bot added the package: core @ionic/core package label Nov 12, 2020
@kensodemann
Copy link
Member

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.

@brandyscarney
Copy link
Member Author

@kensodemann Good catch! This will be fixed by 0f7cd93

@brandyscarney brandyscarney merged commit 04b874e into master Nov 20, 2020
@brandyscarney brandyscarney deleted the fix-select-nvda branch November 20, 2020 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: ion-toggle and ion-select generates empty buttons
3 participants