Skip to content

Spin

What component has

Roles and attributes

Roles & attributes
AttributeUsage
aria-busy="true"Indicates that the element is being modified and that assistive technologies may want to wait until the changes are complete before informing the user about the update.
aria-label="Loading…"Sets an accessible name for the element.

Considerations for developers

Place Spin inside a container with role="status" and aria-live="polite" attributes for the screen reader to announce the start of the loading process (example).

Resources

Other recommendations

See more accessibility recommendations in the common Accessibility guide.

Released under the MIT License.

Released under the MIT License.