mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +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)}
|
onClick={(ev: Event) => openURL(href, ev, this.routerDirection, this.routerAnimation)}
|
||||||
{...inheritedAttributes}
|
{...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">
|
<span class="button-inner">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user