Follows the WAI-ARIA Alert Pattern, announcing its presence using an assertive level of importance, ensuring the same level of feedback is provided to screen reader users.
The announced message can be customised by providing the aria-label prop.
Loader sizes are designed to match the cap-height of the corresponding Text size. This is particularly useful if you need to show a loading indicator while a piece of text is loading.
If content loads quickly, users are likely to see a quick flash of the loading indicator. In order to reduce this visual noise, you can opt to delay the visibility of the loader by 800ms via the delayVisibility prop.