mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(many): add aria-hidden to decorative icons (#26922)
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user