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
Is your feature request related to a problem? Please describe.
I would like to add the tabindex properties to the <slide>'s slot content. This works well until the wrapAround is true. WrapAround adds the cloned slides, which unfortunately inherit the tabindex property so that the cloned nodes become reachable using the Tab key (even before they become visible.
Describe the solution you'd like
I would like to know how it is possible to use theisClone property (not from the $ref) to be able to mark only the proper slides with the tabindex property.
:tabindex="currentPageIndex === index && !isClone ? 0 : -1"
Additional context
I would appreciate any other options for marking the slide slot elements with tabindexes. Currently, I'm using the @slide-end="onSlideEnd" to remove all tabindexes from the cloned nodes with pure JS.
Is your feature request related to a problem? Please describe.
I would like to add the
tabindex
properties to the<slide>
's slot content. This works well until thewrapAround
istrue
.WrapAround
adds the cloned slides, which unfortunately inherit thetabindex
property so that the cloned nodes become reachable using the Tab key (even before they become visible.I thought the
v-slot="{ isClone }"
should be used, but it didn't work for me.Describe the solution you'd like
I would like to know how it is possible to use the
isClone
property (not from the $ref) to be able to mark only the proper slides with thetabindex
property.Additional context
I would appreciate any other options for marking the slide slot elements with tabindexes. Currently, I'm using the
@slide-end="onSlideEnd"
to remove all tabindexes from the cloned nodes with pure JS.The text was updated successfully, but these errors were encountered: