ant-design/ant-design
在 GitHub 查看Tabs not selectable with a keyboard when screen reader is not activated
Open
#53,612 创建于 2025年4月23日
Inactivehelp wanted⌨️ Accessibility
描述
Reproduction link
https://ant.design/components/tabs
Steps to reproduce
- Use a keyboard to navigate to tabs
- Iterate through the tabs with the arrow keys
- Press spacebar to select a tab (this does not work)
- Turn on VoiceOver
- Iterate through the tabs with the arrow keys
- Select a tab with ctrl option spacebar (this works)
What is expected?
A tab should be selectable when the screen reader is not active
What is actually happening?
A tab is not selectable with the screen reader is not active, but is selectable when it is
| Environment | Info |
|---|---|
| antd | 5.24.7 |
| React | 18.2.0 |
| System | macOS Sequoia 15.4 |
| Browser | Chrome 135.0.7049.42 |