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
I love all of the accessibility features that come with Swiper but my snapshot tests are failing because of the dynamic id that is generated on the swiper-wrapper div when enabling a11y. The wrapper div is generated on the fly so I cannot control the markup in order to override the id manually. I would like to see an "id" as an option of a11y.
Clear and concise description of the problem
I love all of the accessibility features that come with Swiper but my snapshot tests are failing because of the dynamic id that is generated on the
swiper-wrapper
div when enablinga11y
. The wrapper div is generated on the fly so I cannot control the markup in order to override the id manually. I would like to see an "id" as an option ofa11y
.React Example:
Screenshot of the DOM with dynamic wrapper and id
Screenshot of tests failing due to dynamic id
Suggested solution
Allow user to configure id to override dynamic id
Alternative
No response
Additional context
No response
Validations
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: