-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.0.1
Environment
Vue 3,3,4
Reproduction link
Steps to reproduce
- Open the minimal reproduction
- Try to navigate in the form only using the tab key on the keyboard (first select the first input element)
What is expected?
The navigation should go through the first input, then the first radio group item, then the second, and finally the last text input
What is actually happening?
The navigation goes through the first input, the first radio group item ONLY and finally the last text input.
Although this behavior is not inherently wrong, an option should be provided to make it work on-demand - especially when you use the radio group styled as buttons.
The current behavior that permits to select an option from the keyboard only is to use the arrow keys.
Alternatively, trying to set tabindex on the radio-button items will make it work but will also select every radio item twice, one time per tab keypress.