fix(toggle): on-off icon is not announced by screen readers (#26641)

This commit is contained in:
Amanda Johnston
2023-01-19 12:40:37 -06:00
committed by GitHub
parent acc8d911ad
commit 77ccac0590

View File

@ -202,6 +202,7 @@ export class Toggle implements ComponentInterface {
'toggle-switch-icon-checked': checked,
}}
icon={icon}
aria-hidden="true"
></ion-icon>
);
}