callstack / callstack/react-native-paper

Chip announces to screen readers as "dimmed" even when active

Offen
#4,844 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
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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Accessibility-Implementierung der Chip-Komponente zu lokalisieren und die Ansage mit VoiceOver nachzustellen. Bestätige das Verhalten für aktive und informative Chips und überprüfe anschließend, dass deaktivierte Chips ihren deaktivierten Zustand weiterhin kommunizieren; abgeschlossen ist die Aufgabe, wenn aktive Chips nicht mehr als "dimmed" angesagt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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