callstack / callstack/react-native-paper
Chip announces to screen readers as "dimmed" even when active
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### 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
贡献指南
调研方向
首先定位 Chip 组件的可访问性实现,并使用 VoiceOver 重现播报。确认活动芯片和信息芯片的行为,然后验证已禁用的芯片仍会传达其禁用状态;完成标准是活动芯片不再被播报为 "dimmed"。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- accessibility, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100