mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(toggle): screen readers now announce toggle properly (#21168)
This commit is contained in:
@ -214,6 +214,7 @@ export class Toggle implements ComponentInterface {
|
|||||||
onBlur={this.onBlur}
|
onBlur={this.onBlur}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
ref={btnEl => this.buttonEl = btnEl}
|
ref={btnEl => this.buttonEl = btnEl}
|
||||||
|
aria-hidden="true"
|
||||||
>
|
>
|
||||||
</button>
|
</button>
|
||||||
</Host>
|
</Host>
|
||||||
|
Reference in New Issue
Block a user