Skip to content

RadioButton.Item has duplicate tabstop #4775

@vpzomtrrfrt

Description

@vpzomtrrfrt

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 (https://snack.expo.dev/@react-native-paper/react-native-paper-example_v5) 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions