Combobox Autocomplete UI Pitfalls

Use when an autocomplete, combobox, typeahead, async select or tag picker is written or reviewed in a web application, whatever the framework: options fetched as the user types (debounce, cancelled and out-of-order responses, minimum length), keyboard behaviour and the combobox ARIA pattern (focus stays in the input, active option, announcements), the empty, loading, error and no-match states, multi-select with chips and removal, creating a new option, selected values that are not in the loaded options, and the tests that catch them.

techmefr Updated

File contents

techmefr/mentis commit 63167774d5

Frequently asked questions

npx get-skill add techmefr/combobox-autocomplete-ui-pitfalls