Accessible chatbots: conversations with a keyboard and screen reader
From opening to returning: specify focus, input, announcements and history for a web chatbot, with a practical checklist and a reproducible test sheet.

Someone opens your assistant to find a procedure. They navigate with a keyboard or listen to the page through a screen reader. If the launch button has no meaningful name, the reply interrupts their reading, or the panel closes without a clear destination, a correct answer can still be unusable.
An accessible web chatbot needs to support the whole conversation: opening, writing, sending, understanding waiting states and errors, reading replies, closing and returning. Predictable interaction matters more than adding an isolated ARIA attribute. The following method helps product, design and development teams specify that interaction together.
This guide proposes interface decisions and tests. It is not an accessibility audit of ASK Innovation’s website, widget or a client deployment. The cited WCAG Understanding documents and APG patterns provide informative guidance, not certificates of conformance.
Start with the launch button
Give the launcher an explicit accessible name, such as “Open conversation”, rather than an unnamed icon. Prefer a native HTML button. Check keyboard activation and whether its open or closed state is conveyed when the panel changes. WCAG 2.1.1 requires functionality to be operable through a keyboard interface without specific keystroke timings; its exception concerns functions that depend on a freehand movement path.[1]
Next, decide what opens. A side panel that leaves the page usable is not automatically a modal dialog. Avoid trapping people inside it; provide a clear way back to the page.
For a genuinely modal dialog, the APG pattern describes an inert background, initial focus within the dialog, an internal tab sequence and dismissal with Escape. Initial focus depends on the content: an introductory heading may be more appropriate than the message field when explanations need to be read first. On dismissal, focus normally returns to the launcher, unless the workflow supports another destination.[4]
Make writing and sending predictable
The message field needs a persistent label, such as “Your message”. Placeholder text that disappears as someone types is not enough to explain its purpose. If Enter sends and Shift + Enter adds a line, make that convention visible and accessible. Keep a separate “Send” button that can be used without the shortcut.
Tab order should make sense across the field, send button, links and close control. WCAG 2.4.3 requires focus order to preserve meaning and operability; it does not prescribe a single visual sequence.[2] Avoid using positive tabindex values to patch an incoherent document order artificially; the APG discourages them.[4]
Specify the less obvious states too. If sending is temporarily unavailable, explain why. After a failed send, preserve the message and provide a clear retry action. Do not make the person reconstruct their question, and do not move focus to a reply simply because it has arrived.
Separate waiting, errors and reply content
A visible loading animation does not necessarily inform a screen reader user. Provide understandable wording such as “Your request is being processed”. An error might say “Your message was not sent. You can try again”, without implying that the assistant received it.
WCAG 4.1.3 addresses status messages that assistive technologies can determine programmatically without receiving focus. Its definition includes information about an action’s results, waiting, progress or errors when the message is not delivered through a change of context.[3] Not every new conversational message is therefore automatically covered by this criterion. A detailed reply, a short waiting notice and the opening of a dialog need different treatment.
A log role for sequential messages, a status role for a brief update, or an aria-live region may suit particular interfaces. These are choices to test, not a universal recipe. Avoid duplicate announcements and unnecessary interruptions. People should be able to continue reading and find the reply afterwards.
Handle progressively delivered replies
Do not announce every fragment or token of a streaming answer. Consider a processing indication followed by a controlled announcement when useful content is available. Evaluate whether a long answer should be read in full or signalled as ready, with an explicit way to reach it. The right strategy depends on screen readers, browsers and conversational pace; test it on the intended platforms.
Read history, close and return
Keep conversation history in a coherent reading order. Identify each message’s author through usable text, not just colour or left and right positioning. Headings, lists and links within replies should retain their meaning. A link named “Read the returns procedure” is more useful than repeated instances of “Click here”.
Do not make every message bubble a tab stop to imitate reading: screen readers have commands for navigating content. Make actions keyboard reachable and, where useful, provide an explicit route to history. If someone is reading an earlier exchange, a new message should not force scrolling that makes them lose their place.
Keep “Close conversation” available. Distinguish closing the panel from deleting history or ending a session. When it reopens, explain whether conversation history or an unsent message remains available under the chosen retention rules. Do not promise continuity that the product does not actually provide.
Check mobile use, zoom and touch targets
On a narrow screen, the virtual keyboard can cover the message field or send button. Test opening, scrolling, orientation changes and closing with that keyboard displayed. At increased zoom, check that controls remain readable and reachable without overlapping content preventing their use.
WCAG 2.4.11 requires a component receiving keyboard focus not to be entirely hidden by author-created content.[5] Check banners, sticky headers and chat panels that overlap the underlying page. This specific requirement does not replace other visibility or mobile usability checks.
For pointer input, WCAG 2.5.8 sets a minimum target size of 24 × 24 CSS pixels, with exceptions for defined spacing, an equivalent control, inline text targets, unmodified browser controls and essential presentation.[6] It is not an exception-free rule for every link. For “Send” and “Close”, nevertheless favour comfortable activation areas with adequate separation.
A reproducible test sheet
Fictional example: someone finds a returns procedure, asks a question, follows a link in the answer and then resumes browsing. This scenario does not describe a verified ASK Innovation feature.
Record the interface, operating system, browser, screen reader and their versions, viewport, zoom and test data. Keep expected and observed results separate.
- Open without a mouse: reach the launcher with Tab, activate it, and record its announced name and the focus destination.
- Write and send: enter the question, use the button, then check the documented shortcut and preservation of text after a failed send.
- Wait and receive: check that the state is perceivable without moving focus; record repeated announcements or interruptions during streaming.
- Read again: navigate authors, messages and the procedure link with screen reader commands; receive a new message while reading earlier content.
- Close and return: check dismissal, focus restoration and actual history availability; repeat on mobile and at increased zoom.
For each issue, capture the step, actions, observed result and effect on the task. Assign a correction and repeat the scenario. Automated checks can support this process, but cannot establish that the conversation is understandable. Include people who use the relevant assistive technologies, without generalising from a single configuration.
Checklist before an interface review
- Launcher, message field, send and close controls have understandable names.
- Keyboard interaction follows a logical order with an appropriate way out.
- Waiting, errors and replies have distinct, documented behaviours.
- Announcements do not steal focus or disrupt ongoing reading.
- History retains authors, order, links and useful navigation cues.
- Mobile use, zoom and touch targets have been examined on the chosen platforms.
- Issues have an owner and a verification step after correction.
Frequently asked questions
Should every chat be modal?
No. Choose that behaviour only when the workflow genuinely needs an inert background. Otherwise, design a panel that leaves the page available and specify how people move between them.
Does an aria-live attribute guarantee accessibility?
No. It cannot fix an unnamed button, a keyboard trap or an unclear error. Check announcements and the whole interaction with the assistive technologies people use.
Can this test establish full conformance?
No. It covers a focused journey, not every criterion or every page. A conformance conclusion needs an evaluation appropriate to its scope. This guide provides neither legal advice nor certification.
Define your conversation journey with ASK-Innovation
Explore our features and approach. The assistant should support the team, not replace it; channels, connections and handover options depend on configuration and available access.
Discuss your conversation journey: share the priority task, intended platforms and difficulties already observed. These details help define the interface and its checks without assuming that an existing implementation conforms.
Sources
W3C guidance consulted on 22 November 2026. The design recommendations, checklist and scenario are editorial proposals; no test of ASK Innovation’s widget is represented as completed.
- [1] Understanding WCAG 2.2 — Keyboard, 2.1.1 (A)
- [2] Understanding WCAG 2.2 — Focus Order, 2.4.3 (A)
- [3] Understanding WCAG 2.2 — Status Messages, 4.1.3 (AA)
- [4] ARIA Authoring Practices Guide — Dialog (Modal) Pattern
- [5] Understanding WCAG 2.2 — Focus Not Obscured (Minimum), 2.4.11 (AA)
- [6] Understanding WCAG 2.2 — Target Size (Minimum), 2.5.8 (AA)
Editorial transparency
Writing and translation prepared by Website Agent, an AI assistant, using the cited sources. Human review of the content, translations and recommendations is required before publication. Examples are fictional; no accessibility result or efficiency improvement is claimed.