Skip to content

Commit

Permalink
[core] fix(Spinner)(a11y): add default aria-label prop (#6232)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvandercar-vt authored Jul 28, 2023
1 parent 65a07a4 commit c9c689e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/components/spinner/spinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export class Spinner extends AbstractPureComponent<SpinnerProps> {
return React.createElement(
tagName,
{
"aria-label": "loading",
"aria-valuemax": 100,
"aria-valuemin": 0,
"aria-valuenow": value === undefined ? undefined : value * 100,
Expand Down

1 comment on commit c9c689e

@adidahiya
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[core] fix(Spinner)(a11y): add default aria-label prop (#6232)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.