# Query suggestions

> Suggestions while typing can save time, or pull people toward something they did not mean.

Area: Search. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/search/suggestions

## The answer

Put the most likely suggestions first, and keep what people typed in the field.

- **Moderate.** Put the most likely suggestions first. (https://uxreference.com/search/suggestions#rule-2)
- **Moderate.** Keep what people typed. Arrows move through suggestions, Escape closes the list, and Enter searches for what’s in the box. (https://uxreference.com/search/suggestions#rule-3)

## The problem

Suggestions offered while typing can save keystrokes and steer people to queries that work, or get in the way and steer them somewhere they did not mean to go.

## How to decide

None. The sources do not describe more than one correct practice that depends on context.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Settled, WCAG AA

Make the suggestion list work from the keyboard, and expose to software that it is open and which suggestion is active.

- Applies when: Suggestions are shown.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 level A. Both reopened and checked.

Sources: [Understanding SC 2.1.1 Keyboard (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html); [Understanding SC 4.1.2 Name, Role, Value](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html); [Combobox pattern, ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/)

Link: https://uxreference.com/search/suggestions#rule-1

#### Rule 2. Moderate

Put the most likely suggestions first.

- Applies when: Suggestions are shown.
- Based on: Research
- Principle: Let practiced people go faster

Why: Logs of about 1.6 million queries from one search engine and a second engine's logs both show selections concentrated in the first two positions. A 25-person eye-tracking study found reordering changed behavior little, which is why this is 3 and not 4.

Sources: [On User Interactions with Query Auto-Completion](https://www.microsoft.com/en-us/research/wp-content/uploads/2014/07/sigirsp190-mitra.pdf); [A Two-Dimensional Click Model for Query Auto-Completion](https://www.cs.virginia.edu/~hw5x/paper/Li_fp084.pdf); [An Eye-tracking Study of User Interactions with Query Auto Completion](https://bhaskar-mitra.github.io/files/2661829.2661922.pdf); [A Survey of Query Auto Completion in Information Retrieval](https://irlab.science.uva.nl/wp-content/papercite-data/pdf/cai-survey-2016.pdf)

Link: https://uxreference.com/search/suggestions#rule-2

#### Rule 3. Moderate

Keep what the person typed available, move through suggestions with the arrow keys, close the list with Escape, and let Enter submit whatever is in the field.

- Applies when: Suggestions are shown.
- Based on: Convention
- Principle: Keep people in control

Why: The ARIA practices guide and Baymard. Rated 3.

Sources: [Combobox pattern, ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/); [Autocomplete Design (e-commerce search suggestions)](https://baymard.com/blog/autocomplete-design); [Always Copy the Active Autocomplete Suggestion to the Search Field](https://baymard.com/blog/copy-search-suggestion-to-search-field)

Link: https://uxreference.com/search/suggestions#rule-3

#### Rule 4. Moderate

Where the top suggestion completes what is being typed, offering it inline in the field increases how often suggestions are accepted.

- Applies when: Suggestions are shown.
- Based on: Research
- Principle: Let practiced people go faster

Why: One retailer's own online experiment over 140 million sessions found more acceptance and less typing, with almost no effect on sales. One company, so 3.

Sources: [Ghosting: Contextualized Query Auto-Completion on Amazon Search](https://cdn.amazon.science/5f/cf/459873b1419389a4b3203f5b349b/ghosting-contextualized-query-auto-completion-on-amazon-search.pdf)

Link: https://uxreference.com/search/suggestions#rule-4

#### Rule 5. Weak

Tell assistive technology how many suggestions are available when the list changes.

- Applies when: Suggestions are shown.
- Based on: Practitioner research
- Principle: Work for everyone

Why: A government team's test with four assistive-technology users, and the ARIA guide. Rated 2.

Sources: [What we learned from getting our autocomplete tested for accessibility](https://accessibility.blog.gov.uk/2018/05/15/what-we-learned-from-getting-our-autocomplete-tested-for-accessibility); [Combobox pattern, ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/)

Link: https://uxreference.com/search/suggestions#rule-5

#### Rule 6. Unsettled

How many suggestions to show is unsettled.

Until the evidence settles, use this default: Show a short list that fits without scrolling.

- Applies when: Suggestions are shown.
- Based on: Research
- Principle: Leave out what is not needed

Why: The only experiments on list length are a 30-person study on keypad phones and one with four items; practitioner limits come without samples. Rated 1.

Sources: [Query Suggestions for Mobile Search: Understanding Usage Patterns](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/33483.pdf); [Autocomplete Design (e-commerce search suggestions)](https://baymard.com/blog/autocomplete-design); [Design Site Search Suggestions for Better Results](https://www.nngroup.com/articles/site-search-suggestions/); [On User Interactions with Query Auto-Completion](https://www.microsoft.com/en-us/research/wp-content/uploads/2014/07/sigirsp190-mitra.pdf)

Link: https://uxreference.com/search/suggestions#rule-6

## Accessibility requirements

- WCAG 2.2, 2.1.1 (A), 4.1.2 (A), and 4.1.3 (AA) for announcing changes without a focus move. (https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html)
- WAI-ARIA Authoring Practices, combobox pattern: guidance. (https://www.w3.org/WAI/ARIA/apg/patterns/combobox/)

## Common mistakes

- Suggestions that replace what the person typed with no way back ([rule 3](https://uxreference.com/search/suggestions#rule-3)).
- Suggestions that push people toward particular results for the site's benefit. One non-journal report with 300 people per experiment found suggestions shifted what people clicked; link to the dark patterns track when written.

## Still open

- List length ([rule 6](https://uxreference.com/search/suggestions#rule-6)).
- Whether suggestions improve the queries people end up with: no study read measures it; one found fewer keystrokes but no time saved.

## Related problems

- [The search field](https://uxreference.com/search/field): Show an open search field, keep the query in it on the results page, and search the whole site.
- [Selects vs radios vs comboboxes](https://uxreference.com/forms/select-radio-combobox): Show a few options as radio buttons. For a long list, let people type.
- [Announcements to screen readers](https://uxreference.com/accessibility/announcements): Announce results, errors and progress without moving focus, politely, and only what people need.

## Sources

- [Understanding SC 2.1.1 Keyboard (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html). W3C WAI, n.d., normative standard (Understanding document, informative).
- [Understanding SC 4.1.2 Name, Role, Value](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html). W3C WAI, 2026, normative standard (Understanding document).
- [Combobox pattern, ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/). W3C WAI, n.d., authoring guidance (not a binding standard).
- [On User Interactions with Query Auto-Completion](https://www.microsoft.com/en-us/research/wp-content/uploads/2014/07/sigirsp190-mitra.pdf). Bhaskar Mitra, Milad Shokouhi, Filip Radlinski, Katja Hofmann (SIGIR 2014, Microsoft Research), 2014, observational log analysis of Bing query auto-completion.
- [A Two-Dimensional Click Model for Query Auto-Completion](https://www.cs.virginia.edu/~hw5x/paper/Li_fp084.pdf). Yanen Li, Anlei Dong, Hongning Wang, Hongbo Deng, Yi Chang, ChengXiang Zhai (SIGIR 2014; Yahoo Labs and UIUC), 2014, keystroke-level log analysis plus click-model evaluation.
- [An Eye-tracking Study of User Interactions with Query Auto Completion](https://bhaskar-mitra.github.io/files/2661829.2661922.pdf). Katja Hofmann, Bhaskar Mitra, Filip Radlinski, Milad Shokouhi (CIKM 2014), 2014, within-subject lab eye-tracking study; original suggestion ranking vs random permutation.
- [A Survey of Query Auto Completion in Information Retrieval](https://irlab.science.uva.nl/wp-content/papercite-data/pdf/cai-survey-2016.pdf). Fei Cai, Maarten de Rijke (Foundations and Trends in Information Retrieval 10(4)), 2016, literature survey of query auto completion (QAC) research up to 2016, web search focus.
- [Autocomplete Design (e-commerce search suggestions)](https://baymard.com/blog/autocomplete-design). Baymard Institute, 2022, practitioner synthesis of desktop and mobile usability testing plus site benchmark; participant counts not stated.
- [Always Copy the Active Autocomplete Suggestion to the Search Field](https://baymard.com/blog/copy-search-suggestion-to-search-field). Baymard Institute, 2024, practitioner synthesis of desktop usability testing plus benchmark; participant count not stated.
- [Ghosting: Contextualized Query Auto-Completion on Amazon Search](https://cdn.amazon.science/5f/cf/459873b1419389a4b3203f5b349b/ghosting-contextualized-query-auto-completion-on-amazon-search.pdf). Amazon Science (SIGIR 2019 short paper), 2019, randomised online A/B test in production; control = default suggestions, test = suggestions plus inline "ghost" completion of top suggestion.
- [What we learned from getting our autocomplete tested for accessibility](https://accessibility.blog.gov.uk/2018/05/15/what-we-learned-from-getting-our-autocomplete-tested-for-accessibility). GOV.UK accessibility team (Government Digital Service), 2018, moderated testing with disabled users, qualitative.
- [Query Suggestions for Mobile Search: Understanding Usage Patterns](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/33483.pdf). Maryam Kamvar, Shumeet Baluja (Google; CHI 2008), 2008, between-subjects field/lab study with instrumented phone app; list length 0 to 5 suggestions.
- [Design Site Search Suggestions for Better Results](https://www.nngroup.com/articles/site-search-suggestions/). Kate Moran, Nielsen Norman Group, 2018, practitioner article drawing on e-commerce usability observations and one usage count.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
