Use when
- The list is long but values are known.
- Users can identify the target by typing part of it.
Let users type into an input and choose from matching known values, while keeping typed input visible and editable.
Users need to enter a known value quickly without memorizing exact spelling, codes, or names.
The full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
The accepted values come from a known or searchable dataset.
Let users type into an input and choose from matching known values, while keeping typed input visible and editable.
Empty input state.
Unexpectedly replacing typed input.
Expose combobox expanded state, active descendant, and option labels.
Ontario Design System - checked
Ontario autocomplete guidance supports text input with popup suggestions, combobox semantics, keyboard behavior, and known-value selection.
W3C Web Accessibility Initiative - checked
APG combobox guidance defines autocomplete popup behavior and keyboard expectations.
Source trail checked: