Treat chat as one complete service task

A floating chat launcher can seem like a quick way to offer help, but its usefulness depends on everything that happens after the first click. Customers need to find the launcher, understand whether support is available, open the panel, read earlier messages, type or dictate a question, notice a reply, and leave without losing their place. A widget that passes a keyboard check on its open button can still fail when new messages are silent to a screen reader or when focus is trapped in an unexpected panel. Map the entire customer task before choosing a vendor or approving a redesign. The goal is an answerable support request, not merely a technically clickable icon.

Start with a plain-language inventory of widget states: closed, open, waiting for an agent, receiving messages, sending, failed to send, and ended. For each state, ask what the customer sees, what assistive technology announces, where keyboard focus sits, and what action remains available. Offline hours need an honest message and a workable alternative, such as a contact page, rather than a 'chat now' promise that no one can fulfil. If the widget is supplied by a third party, test it inside the real page with the site's headers, cookie banner and mobile viewport. A vendor demo outside that context cannot show whether the launcher is covered or the panel clashes with other controls.

Choose a panel behaviour and make it predictable

The launcher needs a meaningful accessible name, a visible focus indicator, and an indication of state that matches the actual panel. A label such as 'Chat with support' tells the customer more than a speech bubble alone. Do not open the panel merely because focus reaches the launcher; let the person activate it. Then decide whether the panel is genuinely modal. W3C's modal dialog pattern moves focus inside on open, keeps Tab within the dialog while it is open, allows Escape to close, and returns focus to a sensible location. These behaviours apply when the rest of the page is actually inactive. Marking a floating, non-modal chat as modal while people can still use the page creates a false accessibility model.

A non-modal panel may be the better fit when customers need to inspect product details while chatting. In that case, do not trap focus; provide a clear way to move into the panel and back to the page, a labelled close button, and an order that remains understandable. If a modal design is chosen, include a visible close control as W3C strongly recommends, and confirm that closing restores focus without unexpectedly submitting the chat or leaving the user at the top of the page. Test the narrow viewport where the panel may fill the screen. A design can behave like a small side panel on desktop and a full-screen dialog on mobile, but its semantics and focus behaviour must match each state.

Let people perceive new messages without interruption

A conversation is sequential information: who said what, and in what order. W3C's ARIA23 technique describes a chat history with role='log'; new items appended to that region can be announced politely without moving focus. This is an example technique, not a requirement to use that exact markup in every implementation. Give the region a clear name, keep messages in chronological order, and include the speaker in the message text or accessible structure. Test the actual browser and screen reader pair, because W3C itself notes that announcement depends on assistive technology compatibility. A message that is visible in a bubble but never announced is easy to miss while a customer is typing.

Avoid turning every small change into an urgent announcement. Typing indicators, agent status, delivery state and message content have different importance. WCAG's status-message guidance seeks to expose relevant updates without unnecessarily interrupting the user's work. A polite update for an arriving reply and a clear message for a failed send are different from repeatedly announcing 'agent is typing' on every keystroke. Keep the conversation readable on demand so a person can revisit a reply at their own pace. When a user sends a message, confirm whether it was sent, queued or failed; do not let an optimistic visual bubble masquerade as delivery. If a session expires, explain what happened to the draft and the next step.

Keep message entry simple and recoverable

The message field needs a persistent label, instructions for any special send behaviour, and a Send button that works with keyboard, touch and speech input. Enter may send in some chats and insert a line break in others; the chosen rule should be visible or readily discoverable. Do not discard the customer's text because a network request failed. Preserve it, show a comprehensible error and offer retry or copying the draft into another support channel. If attachments are allowed, explain accepted types and size rules before the user selects a file, then show specific rejection reasons. The exact limits come from the chosen service configuration and must be verified there; this article does not invent a universal size allowance.

A support conversation can involve personal order details. Before asking for an order number, explain why it is needed and avoid inviting customers to paste passwords or payment card details into ordinary chat. If the agent must hand the case to another channel, tell the customer what will be transferred and what they need to repeat. Chat transcripts can be useful for continuity, but the business should decide who can access them, how long they remain, and whether customers can obtain a copy under its actual policies. These are operational decisions to document, not claims that every chat vendor handles data in the same way. Test the exact configuration the business intends to deploy.

Test a real support exchange end to end

Use a realistic scenario: a customer on a phone wants to ask whether an ordered item can be collected in person. They open chat from the order page, find that an agent is available, type the question, receive a reply, and return to the order details. Ask a keyboard-only tester to perform the same route without touch. Ask a screen-reader tester to identify the launcher, panel title, speaker and latest reply. Then repeat when the agent is offline and when sending fails. The test passes only if the customer knows whether the request reached the business and can continue via a working route. A vendor's accessibility claim is useful context, but this observed journey decides whether your deployment works.

Keep a short acceptance record covering the page, viewport, language, device, browser, assistive technology and widget version. Include the exact point of failure and a safe alternative support route. Chinese and English labels should be checked separately; a translated button may no longer describe the action, and a longer status message may be clipped on a phone. Recheck after vendor updates, because the external script can change without the site's own release. If chat cannot support the essential journey, present a dependable email, phone or contact path prominently while the defect is being fixed. The business should not position chat as the only support route until the full task has been demonstrated to work.

The send-failure test deserves an explicit decision rule. Simulate a temporary connection loss after the customer has written a multi-sentence question but before the server confirms receipt. The interface should retain the draft and identify the message as unsent; the customer should be able to retry without wondering whether two copies reached the agent. If the system cannot prove delivery, say that the state is uncertain and offer a safe way to check or continue. On recovery, compare the visible transcript with the server-side conversation so that a local bubble is not mistaken for an accepted message. Repeat with a screen reader to make sure the failure and recovery are announced without stealing focus from the draft. This is a service continuity check, because an unanswered support request can change a purchase or booking decision.

Before adopting a chat vendor, ask for a trial configured exactly as the shop expects to use it: its languages, availability hours, message retention setting and mobile placement. Give the vendor a failing test case with steps to reproduce, rather than a vague request for an accessibility certificate. For example, describe that after a new agent reply arrives, a tested screen reader remains silent while focus stays in the composer. Ask how the vendor exposes sequential messages and when a fix can be verified. Meanwhile, keep the business's alternative contact method visible in the same customer context. Re-run the complete exchange after any vendor patch. The owner of the customer page, not just the supplier, is responsible for deciding whether the deployed help route can be relied upon.

Before publishing or changing this journey

  • Open and close the chat with keyboard and restore focus sensibly.
  • Hear a new reply with a tested screen reader without losing the input draft.
  • Distinguish sent, queued and failed messages.
  • Repeat the task in both languages, on phone and desktop, online and offline.

Sources & further reading