Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Card keyboard navigation #6870

Open
evansjohnson opened this issue Jun 25, 2024 · 1 comment
Open

Card keyboard navigation #6870

evansjohnson opened this issue Jun 25, 2024 · 1 comment

Comments

@evansjohnson
Copy link
Contributor

Steps to reproduce

https://blueprintjs.com/docs/#core/components/card

  • Toggle on "interactive" prop
  • Attempt to navigate to with keyboard

Actual behavior

Cannot use keyboard to navigate to and interact with an interactive Card element

Expected behavior

Possibly should only be keyboard accessible if onClick is defined, but if so, should be able to trigger with keyboard.

Possible solution

Use a generic wrapper component that hooks up keyboard navigation support when adding onClick to elements that are not keyboard accessible by default.

Similar issue to #4782, but in this issue cannot navigate to with keyboard at all, in addition to not being able to trigger action with keyboard.

@evansjohnson
Copy link
Contributor Author

Also applies to the related CardList component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant