Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aria-label to Spinner and ApmSpinner #1156

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Add aria-label to Spinner and ApmSpinner #1156

merged 1 commit into from
Apr 28, 2023

Conversation

R-Alers
Copy link
Contributor

@R-Alers R-Alers commented Apr 28, 2023

What is being added
Set the aria-label of the Spinner component to 'loading' by default.
Allow customization of aria-label through the label prop (optional)
Why it is being added
Improve accessibility across apps using the Spinner component
Demo
image

Enable customization of the label by allowing for an optional label prop
aria-label defaults to 'loading' unless specified
Update Spinner.stories for new functionality
@github-actions
Copy link
Contributor

Released prerelease version 8.0.4-stackSpinnerLabel-adbb3c1.0.
You may now run npm install @appfolio/react-gears@stackSpinnerLabel

@R-Alers R-Alers merged commit 1e4ed21 into master Apr 28, 2023
3 checks passed
@R-Alers R-Alers deleted the stackSpinnerLabel branch April 28, 2023 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants