Any reason for not having excludeFromTabOrder on Link? #7833
will-stone
started this conversation in
General
Replies: 1 comment 1 reply
-
Button has it because there are some use cases, such as the stepper buttons in a NumberField or the dropdown trigger in a combobox which have alternate keyboard activations. Links do not have any use cases for this prop that I'm aware of and should be accessible to keyboard users and everyone else always. If you're trying to add this to a link, I suspect what you really want is a button. This prop should rarely be used, only with extreme caution, and always with alternatives for keyboard users. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋🙂
Firstly, thank you providing the React Aria Components; they have become a staple in our component library!
The
Button
component has aexcludeFromTabOrder
prop, butLink
doesn't support that ortabindex
. I was just wondering if there's a technical or accessibility reason why it's not available?Thanks,
Will.
Beta Was this translation helpful? Give feedback.
All reactions