ant-design/ant-design
Tabs not selectable with a keyboard when screen reader is not activated
开放
#53,612 创建于 2025年4月23日
Inactivehelp wanted⌨️ Accessibility
仓库指标
- 星标
- (98,031 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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 |