[ACS-10301] Add aria-hidden to a decorative icon (#11564)

This commit is contained in:
Michal Kinas
2026-01-22 14:37:15 +01:00
committed by GitHub
parent 5c536079c9
commit 0edb04eeb2

View File

@@ -1,5 +1,5 @@
<adf-info-drawer-layout [showHeader]="showHeader">
<img *ngIf="icon" class="adf-info-drawer-icon" alt="{{ 'INFO_DRAWER.ICON' | translate }}" src="{{ icon }}" info-drawer-node-icon>
<img *ngIf="icon" class="adf-info-drawer-icon" alt="{{ 'INFO_DRAWER.ICON' | translate }}" src="{{ icon }}" info-drawer-node-icon aria-hidden="true">
<div *ngIf="title" role="heading" aria-level="1" title="{{ title | translate }}" info-drawer-title>{{ title | translate }}</div>
<ng-content *ngIf="!title" info-drawer-title select="[info-drawer-title]" />