mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 14:19:17 +08:00
fix(fab-button): icon is not announced by screen readers (#26619)
resolves #22296
This commit is contained in:
@ -191,7 +191,13 @@ export class FabButton implements ComponentInterface, AnchorInterface, ButtonInt
|
||||
onClick={(ev: Event) => openURL(href, ev, this.routerDirection, this.routerAnimation)}
|
||||
{...inheritedAttributes}
|
||||
>
|
||||
<ion-icon icon={this.closeIcon} part="close-icon" class="close-icon" lazy={false}></ion-icon>
|
||||
<ion-icon
|
||||
aria-hidden="true"
|
||||
icon={this.closeIcon}
|
||||
part="close-icon"
|
||||
class="close-icon"
|
||||
lazy={false}
|
||||
></ion-icon>
|
||||
<span class="button-inner">
|
||||
<slot></slot>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user