Your chat on your website
Accessibility
Who can open itViewer: yesOperator: yesSupervisor: yesAdmin: yes
Screen readers
Section titled “Screen readers”- The button’s spoken name contains its visible words, for example “Ask Ava — open chat”, with the number of unread replies when there are some.
- The message list is named “Conversation”. Each finished reply is read out once, as plain text without formatting marks or link addresses: the assistant’s name or the team member’s name, then the text. Notices begin “Notice:”.
- While a reply is being written the reader hears “Ava is typing” (with the assistant’s or team member’s name). A long wait is said once (“Good questions take a minute. Still on it.”), not every few seconds.
- A wait for your team is announced once when it starts; the countdown is not read out every second.
- When the bot check needs the visitor, its panel (“Security check”) takes focus and gives it back when done.
- Voice typing, files and saving a copy say what happened, for example “Your words were added to the message box. Edit them, then send.” and “Conversation saved to your device.”
- The chat’s own words are marked as English, so a screen reader on a page in another language still reads them in an English voice. A web developer who translates them sets the language too (Wording and strings).
Keyboard
Section titled “Keyboard”| Where | Key | What it does |
|---|---|---|
| The button | Enter or Space | Opens or closes the window |
| Message box | Enter / Shift+Enter | Sends / new line |
| Floating window | Escape | Closes the window and returns focus to the button. While the microphone is on, it throws the recording away instead, and while a visitor is still choosing characters in a Japanese, Chinese or Korean keyboard, it cancels that instead |
| A panel (files, rating) | Escape | Closes the panel, not the window |
| More button | Arrow Down or Arrow Up | Opens the menu; the arrows, Home and End move through it, Escape closes it |
| Rating stars | Arrow keys, then Enter or Space | Moves the choice, then saves it |
| Message list | Tab to it | Shows the time of every message |
Opening the window puts focus in the message box (on a phone, on the window itself, so the keyboard does not cover the welcome screen). When a button goes away, focus moves somewhere sensible: into the contact card when it opens, back to its button when it is skipped. The flag beside each AI answer is reachable with Tab. On a phone the window keeps Tab inside it and the page behind does not scroll.
Motion, colour and size
Section titled “Motion, colour and size”| Visitor’s setting | What changes |
|---|---|
| Reduced motion | No animation when the window opens or closes, a still typing cursor and waiting line, and the avatar in place of an animated welcome picture |
| High contrast (Windows forced colours) | Bubbles, buttons, the typing cursor and the waiting line get an outline or a system colour |
| Phone | The menu and close buttons are 44 pixels, easy to tap |
| A right-to-left language | What people write (messages, the message box, the contact fields and your own wording) reads right to left for Hebrew or Arabic, whatever the page’s direction. The chat’s frame stays left to right |
| Digits of another script | A phone number or a code typed in Arabic, Persian, Hindi or full-width digits is read as those digits |
The chat’s own colours keep text at 4.5 to 1 against its background, and on a header colour you choose, the name and the line under it are picked to read at 4.5 to 1 on that colour. A colour you choose must give its text the same 4.5 to 1, or Publish refuses it (Choose how the chat looks).
What you can do
Section titled “What you can do”| Who | What helps |
|---|---|
| Admin | Choose colours from the toolbar of the Chat studio: a colour that would make text hard to read is refused, with the nearest one that works (Choose how the chat looks) |
| Admin | Keep the words on the button and the welcome screen short and plain: a screen reader reads them first |
| Admin | An animated Welcome picture is fine: a visitor who asks for less motion sees the avatar instead |
| Web developer | Set lang on the chat’s element when you translate its words, so a screen reader uses the right voice (Embed and attributes) |
| Web developer | Put the floating chat’s element directly inside the page’s body, so the window is placed against the screen (Embedding) |
Related
Section titled “Related”Reviewed
Source files for this page
apps/widget/README.mdapps/widget/src/element.tsxapps/widget/src/launcher-shared.tsapps/widget/src/chatbot/ChatShell.tsxapps/widget/src/chatbot/Transcript.tsxapps/widget/src/chatbot/HeaderMenu.tsxapps/widget/src/chatbot/Feedback.tsxapps/widget/src/chatbot/Composer.tsxapps/widget/src/chatbot/VoiceControl.tsxapps/widget/src/chatbot/strings.tsapps/widget/src/chatbot/challenge.tsapps/widget/src/chatbot/digits.tsapps/widget/src/styles/base.cssapps/widget/src/styles/widget.cssservices/api/app/company/look_colours.py