Skip to content

Filtering a listbox with a text field (filterable select) #2841

Description

@josepharhar

Description of bug or feature request

I am working on a feature for the select element to make it filterable with an input element. The idea is to allow an input element to filter out options in a sibling listbox element.

This explainer goes into detail for filterable select and another feature called "customizable combobox", which is a separate feature I am going to work on afterwards: https://open-ui.org/components/combobox.explainer/

Is there any good or bad ways or examples of implementing this pattern? If we just say that the text field controls the listbox in platform a11y mappings (like aria-controls), is that enough?

If the select element is a button which opens a dialog containing this text field and the listbox, is it ok for the select element to still have a combobox role?

Will this require a change to CORE-AAM?

Probably, but the HTML structure is still under debate: whatwg/html#12050

Will this require a change to the ARIA authoring guide?

Unknown. I'm not aware of an aria practices guide for making a listbox which can be filtered by a text field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    F2FCandidateCandidate topics for F2F (or Virtual F2F) meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions