Skip to content

[combobox] Allow Combobox.Clear to be focusable and keyboard navigatable #3630

@StefanDejanovskiOcuco

Description

@StefanDejanovskiOcuco

Feature request

Allow the "Clear selection" button to be accessible by keyboard navigation (tab and arrow keys)

Summary

Currently Combobox.Clear renders with tabIndex={-1} which makes it inaccessible, it would be great if the component has a prop that allows the users to access it via keyboard

Examples in other libraries

https://www.mongodb.design/component/combobox/live-example

Motivation

Currently, keyboard-only users cannot clear their selections without using a mouse, creating a significant accessibility barrier.

Current workaround limitations:

  • Users must either use a mouse (not possible for some users)
  • Delete selections one by one (time-consuming for multiple selections)
  • Navigate away and return to reset the field (disrupts workflow)

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilitya11ycomponent: comboboxChanges related to the combobox component.support: questionCommunity support but can be turned into an improvement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions