Regioh Applicability section explains the scope of the chat, and the presence of techniques for a specific technology does not imply that the region can be used in all situations to create content that meets WCAG 2. Applicability This technique relates to Success Criterion 4. Description 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 rehion content within the aria-live region is automatically read by the AT, without the AT region to focus on the chat where the text is displayed.
Examples Example 1: Updating the contents of a chat conversation 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 regions are announced by ATs.
The log is exposed in the app as a region, with the region marked with chxt role of log so that the new additions are announced by the ATs. The default value for the aria-relevant attribute is "additions", so the removal of the old top entries due to log size limitations will not be announced.
When each new log entry is added, a screen reader announces it.