Closed didier closed 2 years ago
Hi @didier,
As of v6, Embla Carousel accepts plugins. Feel free to create a plugin called embla-carousel-keyboard-nav
if you want. I can provide some guidance to get you started.
Two friendly reminders:
Kindly, David
Duplicate of #53.
@didier I was having issues with keyboard navigation as well before I found this issue thread. This should allow your carousel to be navigated using Tab( + Shift).
@dathmart thanks for the update. Although they’re similar, I guess this feature request is more about using the left/right arrow keys to scroll to the previous/next slide, rather than tab accessibility. It might be worth noting that the tab accessibility code works for slides with tab index set or with focusable children inside. Thanks for sharing the update though! It might help others looking for the tab accessibility feature 🙂.
Feature request is related to
Is your feature request related to an issue?
I'm unable to focus on or navigate the carousel with my keyboard.
Describe the solution you'd like
For accessibility reasons, I would expect interactive elements to be interactive with a keyboard as well as a mouse.
Describe alternatives you've considered
There really isn't an alternative to this, aside from not supporting it at all.
Additional context
n.a.