Adds the aria-hidden attribute to the material icons in the link table
component, to prevent the word "edit" from being announced to screen
readers (inaccurately, in some cases where the setting can be viewed but
not edited).
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
because routerLink will take precedence, even if it's empty -->
<ng-container *ngIf="row[col].url">
<a [href]="row[col].url" class="with-material-icon">
- <span class="material-icons">edit</span>
+ <span class="material-icons" aria-hidden="true">edit</span>
<span>{{row[col].label}}</span>
</a>
</ng-container>
<ng-container *ngIf="row[col].routerLink">
<a [routerLink]="row[col].routerLink" class="with-material-icon">
- <span class="material-icons">edit</span>
+ <span class="material-icons" aria-hidden="true">edit</span>
<span>{{row[col].label}}</span>
</a>
</ng-container>