Skip to content

Select: Focus previously focused item on open, not the selected one #3744

@gordey4doronin

Description

@gordey4doronin

Feature request

Overview

Current behavior is to always focus the selected item (using focusSelectedItem function in the code). This is not perfect in terms of accessibility. Would be nicer to have the current value retained when the listbox is closed and re-opened.

Ideally the focus doesn't leave the trigger element itself, and only aria-activedescendant is used to pseudo-focus child elements (that was also reported in #3636). Screen reader users prefer to set the focus on the individual elements in the listbox manually, as this gives more control.

Examples in other libraries

ARIA Authoring Practices Guide (APG) Select-Only Combobox Example:
https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/#ex_label

Who does this impact? Who is this for?

Assistive technology users.

Additional context

Example video

Screen.Recording.2025-11-07.at.12.25.45.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions