callstack / callstack/react-native-paper

RadioButton.Item has duplicate tabstop

Open
#4,775 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

### Current behaviour
RadioButton.Item contains two elements with a tabIndex of 0, so it takes 2 tabs to go past it.

### Expected behaviour
There should be only one tabbable element, since they do the same thing

### How to reproduce?
Issue is visible in the example snack () under the "Radio Button Item" page, at least on the Web platform. Click an item, and then press Tab a few times to observe the behaviour

### Preview

### What have you tried so far?
nothing

### Your Environment

| software | version
| --------------------- | -------
| ios | n/a
| android | n/a
| react-native | 0.80.1
| react-native-paper | 5.14.5
| node | 22.13.1
| npm or yarn | npm 10.9.2
| expo sdk | n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.