Using role="log" with chat conversation

This simple script demonstrates how the conversation region in a chat is updated and surfaced to ATs using the aria log role. Here the role is placed on the region containing the dynamically updating conversation. This is not intended to be a fully-functional chat client, but to demonstrate the use of log role. In this mock demo, the conversation is updated with a brief, one-sided conversation, which is initiated by pressing Send.


Conversation

Mock input