Skip to content

Widget empty state

What component has

Roles and attributes

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

AttributeElementUsage
aria-hidden="true"imgHides images from the assistive technologies, because this element is auxiliary and shouldn't be played by a screen reader.

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.

AttributeElementUsage
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.

Considerations for designers

Make sure that the user can easily read the text of the message. Check recommendations in Typography.

Other recommendations

See more accessibility recommendations in the common Accessibility guide.

Released under the MIT License.

Released under the MIT License.