angular / angular/components

bug(mat-table): ChromeVox screen-reader highlights multiple table cells at a time

未关闭
#28,347 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Accessibility area: material/table P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### Is this a regression?

- [ ] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

_No response_

### Description

When navigating with screen reader controls only one table cell should be highlighted at a time, however multiple cells are highlighted.

### Reproduction

StackBlitz link: https://stackblitz-starters-fcezcx.stackblitz.io

Steps to reproduce:
1. Once the StackBlitz has loaded, click anywhere within the rendered demo.
2. Activate ChromeVox (CTRL + ALT + z)
3. Have ChromeVox select the table (Shift + Search + t), and you'll see that the first two table headers are highlighted together and the third is highlighted separately.
4. Now navigate around the table (CTRL + ALT + Search + [arrows]), and you'll see that multiple table cells are always highlighted

### Expected Behavior

When navigating around the table, only one table cell at a time should be highlighted by ChromeVox.

### Actual Behavior

Generally, the focused cell is highlighted together with the cell to its immediate right (if there is one). Also, all cells in the same row as the focused cell are highlighted separately.

**Note:** focusing and voicing are correct; it's only the highlighting that's wrong.

### Environment

- Angular: **17.0.8**
- CDK/Material: **17.0.4**
- Browser(s): **Chrome**
- Operating System: **ChromeOS**

贡献指南

打开贡献指南

调研方向

从链接的 StackBlitz 复现和 ChromeOS 中的 ChromeVox 表格导航步骤开始,以确认高亮行为。根据复现的演示跟踪 Angular Material 表格的可访问性和焦点处理;完成的标准是 ChromeVox 在朗读时仅高亮获得焦点的单元格,同时语音播报和焦点保持正确。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
accessibility, frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。