angular / angular/components

Demo bug: expandable row table example is not keyboard or screen reader accessible

Đang mở
#15,020 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Accessibility area: material/table docs help wanted P4
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ả

#### What is the expected behavior?
1. It must be possible to expand and collapse table rows in the example by using only a keyboard
2. Roles, states, and properties must be present so that users of screen reader software are aware that the rows can expand and collapse

#### What is the current behavior?
1. It is not possible to expand and collapse table rows in the example by using only a keyboard
2. Roles, states, and properties are not provided to convey the functionality to users of screen reader software

#### What are the steps to reproduce?
1. Using either of the following screen readers
- NVDA 2018.4.1 + Firefox 64
- VoiceOver for IOS (12.1.3) + Safari
2. Open the [table example page](https://material.angular.io/components/table/examples)
3. Use the screen reader to navigate to a table cell in the 'Table with expandable rows' example
4. Observe that the screen reader does not convey any semantics about the current expanded state, or that it is possible to interact with the row to expand the information
5. Press the 'enter' key or space bar and obverse that the row does not expand or collapse

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
- Angular Material Example 7.2.2 located at https://material.angular.io/components/
- NVDA 2018.4.1 + FireFox 64
- VoiceOver for IOS (12.1.3) + Safari (12.1.3)

#### Is there anything else we should know?

Since rows and cells already have roles, it would be best to add a separate control to expand/collapse each row.

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

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

Hướng nghiên cứu

Bắt đầu từ trang ví dụ về bảng của Material và kiểm tra ví dụ “Table with expandable rows”, bao gồm cả cách một hàng hiện được kích hoạt. Xác minh kết quả bằng thao tác nhập từ bàn phím và các tổ hợp NVDA/Firefox hoặc VoiceOver/Safari được liệt kê; công việc hoàn tất khi các hàng có thể được mở rộng và thu gọn bằng bàn phím, đồng thời trình đọc màn hình thông báo các vai trò, trạng thái và thuộc tính liên quan.

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ó
3/5
Thời gian dự kiến
1-2 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
45/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.