swiper
swiper copied to clipboard
SwiperJs "focusableElements" parameter not working
Check that this is really a bug
- [X] I confirm
Reproduction link
https://codesandbox.io/s/swiper-space-between-react-forked-8xh819?file=/src/App.jsx
Bug description
The focusableElements parameter is not working as expected and i am not able to focus on the specific element. I am not able to find code example documentation relating to this parameter on swiperjs.com.
Expected Behavior
when specific list of elements are provided in "focusableElements" parameter of swiper js these particular elemnts should be focused when clicked and should not be able to change slide through them
Actual Behavior
Even after setting the focusableElements parameter with
- and
- in my case i am not able to focus them
Swiper version
8.1.3
Platform/Target and Browser Versions
chrome 103
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Make sure this is a Swiper issue and not a framework-specific issue
Would you like to open a PR for this bug?
- [ ] I'm willing to open a PR