Favorites

ARIA log Role

log
ARIA Live Region RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

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.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

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

<div role="log" aria-label="Chat" id="chat" style="height:80px;overflow:auto;border:1px solid #ccc;padding:4px">
<p><b>Sam:</b> Hi!</p>
</div>
<button type="button" onclick="var p=document.createElement('p');p.innerHTML='<b>Alex:</b> Hello';document.getElementById('chat').appendChild(p);">Send reply</button>

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.

This ARIA role is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee