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.
Role | Attribute | Element | Usage |
---|---|---|---|
alert | div | Identifies 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.