ARIA log Role
The log role marks a live region where new information is added in order and old information may disappear, such as a chat history or an error log.
Description
The log role is for a live region where new information is added in meaningful order and old information may be removed, such as chat messages, a game history or a list of server events. It has an implicit aria-live="polite", so new entries are read when the user is idle.
Only the new content is announced, not the whole log. Add messages to the end in the order they occurred. The log should have an accessible name, for example "Chat messages".
For a stream of articles the user scrolls through, use feed. For a single status message that is replaced each time, use status.
Properties
- Category
- Live Region
- HTML equivalent
- None
- Accessible name from
- author
- Required parent role
- None
- Required child roles
- None
ARIA Attributes
- Required
- None
- Supported
- None
- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="log">
Example
Browser Support
The following information will show you the current browser support for the log ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





