callstack / callstack/react-native-paper

RadioButton.Item - Android Talkback can reach radio button twice

Offen Anfängerfreundlich
#4,881 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
14.5k
Forks
2.2k
Ø Merge
5 T. 23 Std.
Gemergte PRs (30 T.)
12

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating the RadioButton.Item implementation and reproduce the behavior with Android Talkback. Trace how the item and its radio button are exposed to accessibility navigation, then verify that Talkback reaches the combined label and radio button only once.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react-native, typescript
Bereich
accessibility, mobile-dev
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.