Skip to content

Spin

What component has

Roles and attributes

The list below describes roles and attributes that component already has.

Roles & attributes
AttributeElementUsage
aria-busy="true"Implicit on svgThe aria-busy state indicates an element is being modified and that assistive technologies may want to wait until the changes are complete before informing the user about the update. When multiple parts of a live region need to be loaded before changes are announced to the user, set aria-busy="true" until loading is complete. Then set to aria-busy="false". This prevents assistive technologies from announcing changes before updates are done.

Considerations for developers

Roles and attributes

The list below will help you to keep in mind the necessary roles and attributes to make our components fully accessible in the particular cases in your interfaces.

Roles & attributes
RolesAttributeElementUsage
statusImplicit on divAfter loading state completed, you may consider putting the success message inside a live-region with role="status".
aria-live="polite"Implicit on divAny region which receives updates that are important for the user to receive, but not so rapid as to be annoying, should receive this attribute. The screen reader will speak changes whenever the user is idle.

Resources

Other recommendations

See more accessibility recommendations in the common Accessibility guide.

Released under the MIT License.

Released under the MIT License.