VOCABULARY / ENTRY
Autocomplete
autocomplete
While the user types, candidates matching what has been entered appear below the field: the user can pick one to complete the input, or ignore them and finish typing.

Recognizing it
- Candidates change with the input and appear in a popup list next to the field
- Candidates can be moved through and confirmed from the keyboard, or ignored entirely
- What the user typed is preserved and never overwritten by a candidate
Concept boundary
This entry means the interaction of offering candidates as the user types, not a browser or operating system filling a form from stored history — that is provided by the user agent and the author usually only declares what the field is for. The test is that the candidates come from a match and can be ignored; rewriting the input into a candidate, or refusing to submit unless one is chosen, is not completion but constrained choice and should use an explicit selection control instead. The ordering is not neutral either: it decides what users are most likely to pick, so the basis for it should be explainable.
When to consider it
- The target is hard to spell or has several spellings, and users remember it roughly
- The candidates come from data the system already holds — cities, products, tags
- A typo is costly and matching early reduces wasted submissions
When to be cautious
- There are only a few candidates, where listing them outright beats typing blind
- The value must come from a fixed set, where completion implies free text is allowed
- Candidates come from an unexplainable ranking yet are presented as objective matches
Tradeoff
It turns recall into recognition and sharply lowers typing effort and spelling errors, at the cost of the list becoming a filter of its own: whatever does not appear is assumed not to exist, while the ordering rules stay all but invisible.
Conditional rules · Editorial advice
Related entries
Completion turns recall-based typing into picking from candidates, one concrete realisation of preferring recognition over recall.
Completion speeds up reaching a known item while filtering handles results that remain too many; both usually sit on the same path.
Whatever is first is most likely to be chosen, so the basis for the order should be explainable rather than passed off as an objective result.
Sources and what they support
The pattern explains that a combobox is an input widget with an associated popup that enables users to choose a value for the input from a collection, where the popup may be a listbox, grid, tree, or dialog, and that some implementations present allowed values while others present suggested values. This entry paraphrases the widget structure from it and uses it to separate suggestion from constrained choice.
Retrieved: 2026-09-16The pattern states the problem as the user needing recognition-aided search when performing search tasks that are hard to remember or easily mistyped, and advises using it when an item can be entered in multiple ways and when what is typed can be readily matched to a specific piece of information in the system. This entry paraphrases the applicable conditions from it.
Retrieved: 2026-09-16 · Archived 2026-09-22Definitions reference these sources. Digital specimens, selection advice, relationships, and recipes are editorial work and have not been validated through user research.
Type extensions and implementation notes
This entry has no runnable specimen; the candidates in the illustration are fictional. Before shipping, verify keyboard operation and screen-reader announcement against the cited combobox pattern, and confirm that the raw input can still be submitted when nothing matches.
{
"states": [
"idle",
"typing",
"suggesting",
"empty",
"selected"
],
"a11y": [
"The field and the candidate list are associated and the active option is announced",
"Arrow keys move, Enter confirms, and Escape closes the list while keeping what was typed"
],
"motion": "The list appears directly with no animation, and no transition under a reduced-motion preference"
}Open the Agent JSON file for this entryThis file repeats every field of this entry verbatim and adds its sources, archive status, and editorial scope.