pattern-library 2 linked patterns checked
GOV.UK Design System Select component
Documents native select controls with labels, hints, error messages, selected values, long-list caution, and advice to avoid pre-selecting answers for questions.
Read with a purpose
What this source can teach
Use this source to compare a documented solution with the task and states in your own product.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Inaccessible custom select | Flag this anti-pattern when a custom dropdown cannot be opened, navigated, selected, dismissed, and reviewed by keyboard. | The trigger exposes an accessible name, current value, role, and expanded or collapsed state. | GOV.UK select guidance supports native labels, hints, errors, selected values, and caution around long lists. |
| Select | Choose select sparingly for a single choice from a moderate known list when space or task priority justifies collapsing options. | The selected value remains visible after the menu closes. | GOV.UK select guidance supports native labels, hints, errors, selected values, long-list caution, and no preselected answers for questions. |
Comparisons supported by this source
- Inaccessible custom select vs select vs autocomplete vs multi-select
GOV.UK documents native select labels, hints, errors, selected values, and long-list caution.
- Radio group vs select
GOV.UK select guidance treats select as a compact control for longer lists, with labels, hints, errors, and caution around preselection.
Evidence Role
This source is treated as pattern-library evidence. Its value comes from the specific claims and setting described above.
Publisher: Government Digital Service. Last checked: .