adobe / react-spectrum

A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.
https://react-spectrum.adobe.com
Apache License 2.0
13.04k stars 1.13k forks source link

Select with additional buttons traps focus #7019

Open modiho opened 2 months ago

modiho commented 2 months ago

Provide a general summary of the issue here

A select that contains additional buttons will trap focus so that once tabbed into, forward tab will only tab between the select button and those additional buttons, with no way to reach other elements on the page. Shift+Tab is not trapped.

๐Ÿค” Expected Behavior?

You can tab through the select button and sibling buttons to other elements on the page.

๐Ÿ˜ฏ Current Behavior

You cannot tab to other elements on the page once tabbed to the select button and sibling buttons.

๐Ÿ’ Possible Solution

No response

๐Ÿ”ฆ Context

No response

๐Ÿ–ฅ๏ธ Steps to Reproduce

The behaviour is reproducible in the example of the "State" section of Select component docs.

Version

1.3.3

What browsers are you seeing the problem on?

Firefox, Chrome

If other, please specify.

No response

What operating system are you using?

Linux

๐Ÿงข Your Company/Team

No response

๐Ÿ•ท Tracking Issue

No response