Skip to content

Error message

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 your interfaces.

RoleAttributeElementUsage
alertdivIdentifies the div element as a container with an error alert.

Resources

  • W3 alert role has detailed information about the alert accessible behavior.

Other recommendations

See more accessibility recommendations in the common Accessibility guide.

Released under the MIT License.

Released under the MIT License.