Skip to content

Commit

Permalink
fix(timeline): add role="img" to timeline step icon
Browse files Browse the repository at this point in the history
fixes VPAT-13814
  • Loading branch information
Ashley Ryan authored and ashleyryan committed Sep 21, 2022
1 parent 6705edd commit 2205466
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion projects/angular/src/timeline/timeline-step.ts
Expand Up @@ -17,7 +17,12 @@ import { ClrTimelineStepTitle } from './timeline-step-title';
<ng-content select="clr-timeline-step-header"></ng-content>
<span class="clr-sr-only">{{ stepTitleText }}</span>
<ng-container *ngIf="!isProcessing; else processing">
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"></cds-icon>
<cds-icon
[attr.status]="iconStatus"
[attr.shape]="iconShape"
[attr.aria-label]="iconAriaLabel"
role="img"
></cds-icon>
</ng-container>
<div class="clr-timeline-step-body">
<ng-content select="clr-timeline-step-title"></ng-content>
Expand Down

0 comments on commit 2205466

Please sign in to comment.