From 316d5ee43eb8ecd8bdfbddf7bcc1a99ea6051a93 Mon Sep 17 00:00:00 2001
From: Mike Gower This technique relates to:
+ Using ARIA role=log
+
+ When to Use
+
+
+
+ The purpose of this technique is to notify Assistive Technologies (AT) when content has been appended to sequential information concerning the application's history or logs. The aria live region role of log
has an implicit aria-live
value of "polite" and aria-atomic
value of "false", which allows a user to be notified via AT (such as a screen reader) when log messages are added. The new content within the aria-live region is automatically read by the AT, without the AT having to focus on the place where the text is displayed. See WAI-ARIA 1.1 log (role) for more details.
+
+
Comments that users type into a chat input field are appended to the end of the chat history region. The region is marked with role of log
so that new additions are announced by ATs. The aria-relevant
attribute is set to be "additions" only so that removed or edited messages are not re-announced. When each new chat message appears, a screen reader announces its content.
+
+
+ Chat History
+
+ - The latest chat message
+
+
+
+
+ Working example: link
+
+
+
+
+
+ Working example: link
+log
.