What the person is doing
The product has a large searchable result set where users can identify useful hits from partial input.
Application · lesson 12 of 20 · Search, Browse, And Discovery
Underlying principle: Discovery supports several starting points: a known term, a broad category, a partial memory, or a set of constraints. The interface helps people refine their understanding while they search.
Provide a live typeahead result panel that updates from the current query with clear thresholds, loading, stale-response handling, keyboard support, and distinct actions for selecting a hit or submitting the full query.
Discovery supports several starting points: a known term, a broad category, a partial memory, or a set of constraints. The interface helps people refine their understanding while they search.
The product has a large searchable result set where users can identify useful hits from partial input.
Provide a live typeahead result panel that updates from the current query with clear thresholds, loading, stale-response handling, keyboard support, and distinct actions for selecting a hit or submitting the full query.
Empty state before typing.
Are rows live result hits for the current typed query, or are they query suggestions or known-value options?
Typing changes the query and schedules live lookup only when the minimum length and privacy rules allow it.
The product has a large searchable result set where users can identify useful hits from partial input.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The product has a large searchable result set where users can identify useful hits from partial input.
Provide a live typeahead result panel that updates from the current query with clear thresholds, loading, stale-response handling, keyboard support, and distinct actions for selecting a hit or submitting the full query.
Empty state before typing.
Stale results appear for an older query after the user types more characters.
Use a labelled input and expose the live result panel with combobox, listbox, or region semantics appropriate to the interaction.
Algolia - checked
Algolia documents as-you-type autocomplete state, sources, collections, keyboard behavior, and loading or stalled state.
Elastic - checked
Elastic documents a search_as_you_type field optimized for prefix matching as users enter text.
IBM Carbon Design System - checked
Carbon documents type-ahead suggestions, keyboard cycling, Enter selection, Escape dismissal, and search result counts.
W3C Web Accessibility Initiative - checked
WAI-ARIA APG provides accessible popup and keyboard expectations relevant to typeahead panels.
Source trail checked: