Explore behaviors before defining the interface.
Quick guide for designers
Always consider the context of the application, even when the guidance follows a standard pattern. Interaction design documents intent. Behavior must be verified in the implementation.
When to use
Use single selection for one value, an editable combobox to search options, and multiple selection for several choices. Consider radio buttons or checkboxes when options need to remain visible.
What to design
Show the label, choices, focus, help, and errors. When searching options, include loading and no matches; for multiple selection, include reviewing and removing choices.
How it behaves
On opening, the person chooses an option and the field updates its value. Native selector commands vary by platform.
What to document in Figma
Define the chosen pattern, free or restricted input, committing, canceling, and multiple selection rules. Distinguish the active option, committed value, and selected items.
How to review
Check whether the purpose and states are clear on small and large screens and with zoom. Verify documented behavior in the implementation, including keyboard and screen reader use where applicable.
Full guidance
Interaction Design
Questions to ask when designing interactive components of type Select (Combo).
Important:
Depending on the context in which you build your components, there may be further questions, and some listed here may not be necessary. Assess each case individually.
Designing for "no interaction"
- Before interacting, can you tell that there is a list of options to choose from?
- Does the label clearly communicate the expected value type?
- Is the selected value or placeholder visually understandable?
Designing for mouse use (any pointing device)
- Is there visual feedback when hovering over the field?
- Does clicking the field open the options list or show the native selector?
- Does selecting an option update the visible value?
Designing for gesture use
- Does the field have a comfortable touch area?
- When
tappingthe field show the selector or options list? - Is the selected value clear after choosing an option?
Designing for keyboard use (any non-pointing device)
- Is there visible focus on the field?
- Can you open and change the selection using the keyboard according to the browser or system pattern?
- Can you leave the field and continue the flow without focus getting trapped?
Designing for screen reader use
- Is the select label announced correctly?
- Is the selected value announced?
- Is the required, invalid, or disabled state announced when applicable?
- Can options be navigated and selected with assistive technology?
Editorial extension — interaction patterns and decisions
Magoo editorial adaptation: extends the previous guidance with design, documentation, and review decisions. References support the adaptation; these scenarios do not represent executed tests or certification.
Single selection, search, and multiple selection
Use single selection when only one value can be chosen. Consider radio buttons when comparing a few visible alternatives matters. A native select retains platform commands.
Use an editable combobox when typing helps find options. Document whether text only filters allowed values or whether free text can also be committed. An active suggestion is not necessarily a selected value.
Use multiple selection when more than one value can be chosen. Design how to review and remove each choice and clear all choices. For small sets, consider visible checkboxes. An APG combobox represents a single value; adding multiple selection does not establish an appropriate pattern.
What to design and document
Show empty, filled, expanded, focused, disabled, and error states. When searching options, include loading, no matches, and loading failure, preserving typed text and previous choices.
Define what opens the list and how to navigate options, commit, cancel, and leave. For an editable combobox with a suggestion list, document arrow navigation, Enter to commit, and Esc to close without replacing the committed value with a merely highlighted suggestion. Preserve text editing commands.
For multiple selection, distinguish focus from selection. Document whether choosing keeps the list open, quantity limits, removal control names, and focus after removal. Do not hide choices merely because they no longer match the filter.
Design and implementation review
In the design, check that the number of choices and states are clear, including long labels and small screens. In the implementation, verify names, committed value, expansion, active option, and selection with keyboards and screen readers. A listbox does not support interactive buttons or links inside its options.
Scope: the basic methods below describe single selection. Editable comboboxes and multiple selection have their own decisions and scenarios in the editorial extension of the Interaction design tab.
Interaction Methods
Possible interaction methods for components of type Select (Combo).
Important:
Only the main methods are listed here. Custom components require further study.
Mouse interaction (any pointing device)
- Clicking the field opens the selector or options list.
- Clicking an option updates the selected value.
- Clicking outside the selector should close the list when applicable.
Keyboard interaction (any non-pointing device)
TABmoves focus to the field.Arrow keysnavigate or change options according to the browser's native behavior.ENTER,SPACEor system combinations may open or confirm the selection depending on the platform.
Keyboard (or gesture) interaction + screen reader
- On focusing the selector with a screen reader, people identify its name and chosen value.
- On navigating to the field, people identify instructions and any errors before choosing or correcting the value.
- In the native selector, opening, navigating, and committing follow the platform. In a custom combobox, people use the commands described in the specific Autocomplete documentation.
Gherkin
BDD (Behavior-Driven Development) methodology focusing on three pillars: User Stories, Acceptance Criteria, and Gherkin Syntax (Given, When, Then).
Scenario: Given that I am on a page containing a select
Keyboard navigation
- WHEN I use the
Tabkey to move focus to a select - The focus I SEE is strongly indicated visually
- THEN, when I use the keyboard to open or navigate the options
- I SEE that I can move through the options
- THEN, when I select an option
- I SEE the field value updated
Screen reader on desktop
-
When I use a screen reader on a computer (NVDA, JAWS, VoiceOver) and move focus to the component
- I HEAR the field's label and purpose.
- I HEAR the selected value.
- I HEAR that there are selectable options.
- THEN, when I activate or change the component
- I HEAR or perceive that its corresponding state, value, content, or action has been updated.
Screen reader on mobile devices
-
WHEN I use a screen reader on a phone (TalkBack, VoiceOver) and swipe to focus the component, the following happens:
- I HEAR the field's label and purpose.
- I HEAR the selected value.
- I can open the selector and choose an option with system gestures.
- THEN, when I double-tap or use the appropriate gesture to activate the component
- I HEAR or perceive that its corresponding state, value, content, or action has been updated.
Additional scenarios — editorial extension
Combobox: cancel a suggestion
- GIVEN an editable combobox with a committed value
- WHEN I navigate suggestions and press
Esc - THEN the list closes without committing the merely highlighted suggestion and I can keep editing the field.
Multiple selection: remove a choice
- GIVEN multiple selected items
- WHEN I remove one using the keyboard
- THEN only that choice is removed, focus remains on an available control, and the update can be perceived with a screen reader.
Considerations
Considerations for components of type Select (Combo).
- This page considers the use of a native
selector equivalent form selection component. - Custom comboboxes, listboxes, and autocomplete have their own behaviors and need specific documentation.
- Do not use a placeholder as a substitute for a persistent label.
Implementation notes and behavior decisions
- The field must have a programmatically associated label.
- Help and errors should be associated with the field when present.
- Custom selects should follow a proper combobox or listbox pattern rather than merely imitate the native appearance.
References
Additional references for components of type Select (Combo).
Important:
Most references are on the course platform alongside the lessons cited in this material.
Disclaimer:
The links listed here are a curated collection of references where you can find implemented components, rather than recommendations. There is no unified implementation format and no guarantee that these links follow every design pattern. Direct questions to the teams responsible for the linked materials. Before copying a model, remember that all materials are constantly updated and that patterns, particularly proprietary ones, may change.
Design patterns
- HTML standards documentation: The Select Element open_in_new (external link, opens in a new tab)
- MDN Web Docs: Select open_in_new (external link, opens in a new tab)
- W3C APG: Combobox Pattern open_in_new (external link, opens in a new tab)
- W3C APG: Listbox Pattern open_in_new (external link, opens in a new tab)
Design System
- US.gov - Combo box open_in_new (external link, opens in a new tab)
- US.gov - Select open_in_new (external link, opens in a new tab)
- IBM Carbon - Select open_in_new (external link, opens in a new tab)
- Adobe Spectrum - Picker open_in_new (external link, opens in a new tab)
- Bootstrap - Select open_in_new (external link, opens in a new tab)