angular / angular/components

bug(Button toggle): Voice Over not read status pressed / not pressed after select and deselect

Đang mở
#30,930 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Accessibility area: material/button-toggle 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?

- No.

### Description

Voice Over does not read the state of the button as pressed when selected or not pressed when deselected. It only reads 'selected' if you change focus and return to the selected button. The NVDA screen reader does not have this problem, it reads the states correctly.

### Reproduction

Steps to reproduce:
1. Go to official multiple selection example: https://material.angular.io/components/button-toggle/examples#button-toggle-mode
2. Focus those buttons with VO open
3. States presses/ not pressed not announced when toggle buttons

### Expected Behavior

VO should read pressed/ not pressed when button toggled like NVDA do this.

### Actual Behavior

Voice Over does not read the state of the button as pressed when selected or not pressed when deselected.

### Environment

- Angular: 19.2.7
- CDK/Material: 19.2.10
- Browser(s): Chrome, Edge, FF, Safari
- Operating System (e.g. Windows, macOS, Ubuntu): MacOS 15.4.1

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 ví dụ button-toggle chọn nhiều chính thức tại https://material.angular.io/components/button-toggle/examples#button-toggle-mode và tái hiện vấn đề bằng VoiceOver, sau đó so sánh hành vi với NVDA. Thay đổi được hoàn tất khi việc chọn và bỏ chọn một toggle khiến VoiceOver thông báo các trạng thái được nhấn và không được nhấn mà không di chuyển tiêu điểm.

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.