Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/component-library/loading-indicator.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permalink: /component-library/loading-indicator.html

## Considerations

Loaders should use either the `alert` or `status` ARIA roles. Use the ["alert" role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/alert_role) when the user needs to know immediately when loading finishes: for example, when submitting a form. This role causes assistive technologies to announce all changes in an assertive way, and could be annoying. Use the ["status" role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/status_role) when the loading state is doesn't need immediate attention: for example, when loading extra page content.
Loaders should use either the `alert` or `status` ARIA roles. Use the ["alert" role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/alert_role) when the user needs to know immediately when loading finishes: for example, when submitting a form. This role causes assistive technologies to announce all changes in an assertive way, and could be annoying. Use the ["status" role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/status_role) when the loading state doesn't need immediate attention: for example, when loading extra page content.

When loading content, use the `aria-busy="true"` attribute on the content's container. Change it to `false` when loading is complete.

Expand Down
Loading