Resonance Logo

Combobox

A combobox combines a text input with a dropdown listbox, letting users either type a value or select from filtered suggestions.

Demo

Click or tab into the input field and start typing to filter the list of options. Use the Down Arrow key to move into the suggestion list, Up and Down to navigate between options, Enter to select one, and Escape to dismiss the list and return focus to the input.

Type to filter, or press Arrow Down to open.

What to Observe

Anatomy

[Anatomy image placeholder — will be added when assets are available]

  1. Text input — The editable field where the user types to filter options; carries role="combobox" and controls the popup visibility via aria-expanded.
  2. Label — A <label> associated with the input that names the control for all users.
  3. Listbox popup — The dropdown container with role="listbox" that holds the filterable options.
  4. Option items — Individual items inside the listbox, each carrying role="option" and an aria-selected state.
  5. Toggle button — An optional button to open or close the popup without typing, often represented as a chevron icon.

Accessibility Behavior

Common Mistakes

Why This Matters

Comboboxes are frequently used in search bars, address fields, and product filters — high-traffic interactions where inaccessibility has a large impact. When the ARIA states are missing or incorrect, screen reader users cannot tell whether a list is open, which option is highlighted, or whether their selection was accepted. This effectively prevents them from completing tasks that sighted users accomplish in seconds, reinforcing a two-tiered experience on the most visible parts of a product.

Accessibility Validation

This component is validated against internal accessibility criteria aligned with WCAG standards, using our internally developed system, Resonance Specs.

To learn more, please contact us.

Code

Reference Implementation