mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(toggle): on-off icon is not announced by screen readers (#26641)
This commit is contained in:
@ -202,6 +202,7 @@ export class Toggle implements ComponentInterface {
|
||||
'toggle-switch-icon-checked': checked,
|
||||
}}
|
||||
icon={icon}
|
||||
aria-hidden="true"
|
||||
></ion-icon>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user