We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a slide offscreen contains a focusable link, users can tab to this hidden content and break the layout of the slider.
Here's a demo, pressing tab goes to a slide out of view and breaks the slide layout: https://codesandbox.io/s/embla-carousel-default-react-forked-mfxmmy?file=/src/js/EmblaCarousel.jsx
Yes I believe that content of non-visible slides should not be tabable
The text was updated successfully, but these errors were encountered:
Hi @aa-jeremyhoover,
Try this solution. Let me know if it helps.
Best, David
Sorry, something went wrong.
Thanks, that's what I needed :)
Just wanted to let you know that as of v8.0.0-rc12 Embla handles this internally. No need to copy paste code to get this to work anymore.
v8.0.0-rc12
Cheers, David
No branches or pull requests
Bug is related to
Embla Carousel version
Describe the bug
When a slide offscreen contains a focusable link, users can tab to this hidden content and break the layout of the slider.
CodeSandbox
Here's a demo, pressing tab goes to a slide out of view and breaks the slide layout:
https://codesandbox.io/s/embla-carousel-default-react-forked-mfxmmy?file=/src/js/EmblaCarousel.jsx
Steps to reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: