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 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.
Type into the field, choose a suggestion, and inspect whether typed input remains valid.
Launch the live UI/UX lab when you want to inspect states, keyboard behavior, and common failure modes.
Empty input state.
Arrow keys move through suggestions.
Forcing the first suggestion when the user did not choose it.
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.
Last verified: