angular / angular/components

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

Đang mở
#28,347 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Accessibility area: material/table P3
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

### 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**

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với bản tái hiện StackBlitz được liên kết và các bước điều hướng bảng của ChromeVox trong ChromeOS để xác nhận hành vi làm nổi bật. Truy vết khả năng truy cập và việc xử lý tiêu điểm của bảng Angular Material từ bản demo được tái hiện; hoàn thành có nghĩa là ChromeVox chỉ làm nổi bật ô đang được tiêu điểm khi đọc thành tiếng, đồng thời giọng đọc và tiêu điểm vẫn chính xác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
accessibility, frontend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.