fix(toggle): use a native input to fix a11y issues with axe and screen readers (#22477)

fixes #22011
references #21552
This commit is contained in:
Brandy Carney
2020-11-12 15:29:05 -05:00
committed by GitHub
parent 96d6012071
commit 813611a61b
6 changed files with 88 additions and 72 deletions

View File

@@ -10,6 +10,7 @@
* [Example Components](#example-components)
* [References](#references)
- [Accessibility](#accessibility)
* [Checkbox](#checkbox)
- [Rendering Anchor or Button](#rendering-anchor-or-button)
* [Example Components](#example-components-1)
* [Component Structure](#component-structure-1)
@@ -370,6 +371,7 @@ ion-ripple-effect {
#### Example Components
- [ion-checkbox](https://github.com/ionic-team/ionic/tree/master/core/src/components/checkbox)
- [ion-toggle](https://github.com/ionic-team/ionic/tree/master/core/src/components/toggle)
#### VoiceOver