Skip to content

Commit

Permalink
fix: add 'aria-' prefix to accessibility attributes (#3036)
Browse files Browse the repository at this point in the history
Signed-off-by: Akshat Patel <akshat@live.ca>
  • Loading branch information
Akshat55 authored Oct 25, 2024
1 parent d4000a8 commit 627c272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/progress-bar/progress-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ import {
class="cds--progress-bar__track"
role="progressbar"
[attr.aria-invalid]="isError"
[attr.labelledby]="id"
[attr.describedby]="helperText ? helperId: null"
[attr.aria-labelledby]="id"
[attr.aria-describedby]="helperText ? helperId : null"
[attr.aria-valuemin]="!indeterminate ? 0 : null"
[attr.aria-valuemax]="!indeterminate ? max : null"
[attr.aria-valuenow]="!indeterminate ? value : null">
Expand Down

0 comments on commit 627c272

Please sign in to comment.