What the component does
- A polite log. The messages sit in an element with
role="log"andaria-live="polite", named bylabel("Conversation"). A screen reader reads each message as it is added, author, time and text, without moving focus. - Busy while working.
workingsetsaria-busyon the log, and the indicator is anNbInlineLoading, a status region of its own. - Scrollable from the keyboard. The log is a tab stop, so the arrow keys and Page Up and Page Down scroll it.
- Nothing moves under the reader. The log follows the newest message only while the reader is at the end. The "Jump to newest" button is a real button, and it scrolls without animation under reduced motion.
- A named composer. The field is named by
composer-label("Message"). The send and stop buttons are icon-onlyNbButtons whoselabelis their name and their tooltip. - A disabled composer says why. The reason is written under the field, and the send button stays focusable with the reason as its description.
- AI is labelled. A message with
aicarries the AI label after its author, so it is announced as AI-written. - The avatar is decorative. The author's name is beside it, so it is not announced twice.
Keyboard
| Key | Does |
|---|---|
| Tab | The log, then the field, then stop and send |
| Enter | Sends, on a desktop. Breaks the line on a phone |
| Shift+Enter | Breaks the line |
| Ctrl/Cmd+Enter | Sends, on a phone with a hardware keyboard too |
Enter that confirms an input method's composition (Japanese, Chinese, Korean) is left alone.
What you own
ownon the viewer's messages. The thread does not know who is reading.aion every message a model wrote, and an explanation built from what the product computed.- A
disabled-reasonwhenever the composer is off.
Known gaps
- No manual screen reader pass has been recorded for this component.
- The field grows with its text only where the browser supports
field-sizing. Elsewhere it is one row that scrolls.