You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most likely it doesn't work correctly for other frameworks as well, but I have time/interest only for Vue version.
I can do PR for Vue version if bug is really accepted.
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/swiper-infinite-loop-vue-forked-vlfpw6?file=/src/App.vue
Bug description
Steps to reproduce:
Prepend
orAppend
buttonIt's even worse with
Shuffle
button - aria labels shuffled as well.Expected Behavior
Slides should have correct
aria-label
's afterchildren
updateActual Behavior
Module respects only initially set aria attributes and doesn't react to changes.
Seems it's needed to expose A11y module on Swiper params the same way as Pagination/Navigation does and do extra check for it in https://github.com/nolimits4web/swiper/blob/master/src/vue/update-swiper.js and re-init the module if
children
changed.Most likely it doesn't work correctly for other frameworks as well, but I have time/interest only for Vue version.
I can do PR for Vue version if bug is really accepted.
Swiper version
8.1.4
Platform/Target and Browser Versions
Not platform/browser specific
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: