callstack / callstack/react-native-paper
Chip announces to screen readers as "dimmed" even when active
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
### Current behaviour
Chips announce as "dimmed" to screen readers even when they have an `onPress`
### Expected behaviour
They probably shouldn't ever announce as "dimmed", since chips tend to be either active buttons, or informational; rarely disabled buttons. I'm assuming this is an unintentional side-effect of the construction of this component.
### How to reproduce?
Interact with a `` component with VoiceOver.
### Preview
### What have you tried so far?
Setting `disabled={false}` does not address the issue. (It's `false` by default anyway.)
PRs aren't being approved right now, so I haven't bothered working one up; this is to make sure the issue is recorded and known. If the library starts being maintained again and PRs are approved and merged, I can look into the internals and try to address the issue in a PR.
### Your Environment
| software | version
| --------------------- | -------
| ios | 26
| android | 16
| react-native | 0.7.9
| react-native-paper | 5.14.5
| node | x.x.x
| npm or yarn | x.x.x
| expo sdk | x.x.x
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the Chip component's accessibility implementation and reproduce the announcement with VoiceOver. Confirm the behavior for active and informational chips, then verify that disabled chips still communicate their disabled state; done means active chips no longer announce as "dimmed".
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- accessibility, mobile
- 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
- 35/100