Designing for Voice Control and Speech Recognition Users

Mobile & Accessibility2 min readBy the Monopage team

People who cannot use a keyboard or mouse, whether because of a motor disability, an injury, or repetitive strain, may control their device by voice. Software such as the voice control features built into major operating systems lets them say things like "click Submit" or "show numbers". Your site can make this easy or frustrating.

How voice control works

Typically the user says the name of what they want to activate. The software matches the spoken words to the accessible name of a control, or the text shown on it. If there is no match, the user may need to use grids or numbered overlays, which are slower.

The label in name rule

WCAG success criterion 2.5.3, Label in Name (level A), says that when a control has a visible text label, its accessible name should contain that same text. For example:

  • Good: a button shows "Search" and its accessible name is "Search" or "Search products"
  • Bad: a button shows "Search" but has an accessible name of "Find items"; saying "click Search" does nothing

Best practice is to start the accessible name with the visible label. See ARIA basics: when to use ARIA and accessible icons and icon buttons.

Write clear, unique labels

  • Avoid ten links all named "Read more". A speaker has no way to choose among them. Use descriptive text such as "Read more about our pricing"
  • Keep labels short enough to say
  • Make sure each control on a page has a distinct name where possible
  • Use real text rather than text in images

Use proper form labels

Associate each field with a visible label so a user can say "click Email" to go to the field. Placeholder text alone is not a reliable label. See accessible forms: labels and errors.

Use native controls

Native links, buttons, and form fields are recognized by voice software without extra work. Custom widgets built from generic elements may not be. See accessible buttons vs links.

Make targets easy to hit

Voice users sometimes rely on numbered overlays or grids that place labels over controls. Targets that are too small or tightly packed make this difficult. See touch target sizes for mobile.

Avoid hover-only and gesture-only controls

Menus that open only on hover, and controls that need dragging or complex gestures, can be hard to operate by voice. Provide click or tap alternatives. See accessible mobile gestures and accessible navigation menus.

Be careful with single-key shortcuts

If you add keyboard shortcuts that use a single character, they can be triggered accidentally by speech recognition or dictation. WCAG 2.1.4 asks for a way to turn off or remap such shortcuts.

Do not break dictation

Allow people to paste into fields, and do not block input methods. Avoid autocomplete behaviors that interfere with dictated text.

Test it

Try your site with the voice control feature on your own computer or phone. Say the names of buttons and links, and see what works. Compare what you see with what you say. See accessibility testing tools for small sites.

Common mistakes

  • Accessible names that differ from visible labels
  • Many identical link names
  • Icon buttons with no visible or spoken name

Cognitive load is another barrier many sites overlook. Read cognitive accessibility basics.