fix(many): add aria-hidden to decorative icons (#26922)

This commit is contained in:
Liam DeBeasi
2023-03-07 11:57:18 -05:00
committed by GitHub
parent 78f5d960cf
commit 78303dccaa
12 changed files with 143 additions and 37 deletions

View File

@ -382,6 +382,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
<div class="toast-button-inner">
{b.icon && (
<ion-icon
aria-hidden="true"
icon={b.icon}
slot={b.text === undefined ? 'icon-only' : undefined}
class="toast-button-icon"