What component has
Keyboard support
See detailed information for the controlling dropdown with the keyboard in the Keyboard control guide.
Roles & attributes
The list below describes roles and attributes that component already has.
Role | Attribute | Element | Usage |
---|---|---|---|
status | div | Defines a live region containing advisory information for the user that isn’t important enough to be an alert . | |
aria-live="polite" | Implicit on div | Any 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. |
Resources
- W3 modal alert example and W3 modal alert dialog example have detailed information about the
alert
accessible behavior. - Find useful information about
status
role in MDN's guide for status role.
Other recommendations
See more accessibility recommendations in the common Accessibility guide.