callstack / callstack/react-native-paper

RadioButton.Item - Android Talkback can reach radio button twice

未关闭 适合新手
#4,881 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

### Current behaviour
If you use the Android Talkback screenreader to navigate the radio button, you first hit the label + radio button (as intended with `RadioButton.Item` - but then the screen reader can also reach the radio button itself, which is unlabelled. This is undesirable, as it's both confusing, and requires extra swiping.

### Expected behaviour
Radio button should not be reachable on its own when used within a `RadioButton.Item`.

### How to reproduce?
Create a `RadioButton.Item` and test it out with Android Talkback.

### Preview

### What have you tried so far?

### Your Environment

| software | version
| --------------------- | -------
| ios | x
| android | 16
| react-native | 0.81.5
| react-native-paper | 5.15.0
| node | x.x.x
| npm or yarn | x.x.x
| expo sdk | x.x.x

贡献指南

打开贡献指南

调研方向

首先定位 RadioButton.Item 的实现,并使用 Android Talkback 重现该行为。跟踪该项及其 radio button 如何暴露给无障碍导航,然后验证 Talkback 只会到达组合标签和 radio button 一次。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
accessibility, mobile-dev
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。