Skip to content

RadioButtonGroup tab index #3257

Answered by TheSisb
laurenfb asked this question in General
May 30, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @laurenfb,

Unfortunately I'm unable to access your repo, however a Radio in HTML naturally navigates with 1 tab stop and arrow keys. This is inbuilt behavior into the browser, but depends on each Radio having the same name attribute. If you pass the name once in the RadioGroup, it will pass it down into each child Radio component.

I built a demo on Codesandbox for you. You can also see other examples on our website.

If you're still running into issues, could you please create a Codesandbox reproduction and post it here? Thanks!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@laurenfb
Comment options

Answer selected by laurenfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants