mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-04-23 22:30:37 +00:00
[ACS-10301] Add aria-hidden to a decorative icon (#11564)
This commit is contained in:
@@ -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]" />
|
||||
|
||||
Reference in New Issue
Block a user