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
When an accessible-slick slider becomes 'unslicked' (via the responsive settings or via jQuery), the role and aria-label that are appended upon 'slicking' persist. This makes for excess attributes that a screen reader will read out when the carousel no longer exists. The role and aria-label should be removed upon destroying the slider.
When an accessible-slick slider becomes 'unslicked' (via the responsive settings or via jQuery), the
role
andaria-label
that are appended upon 'slicking' persist. This makes for excess attributes that a screen reader will read out when the carousel no longer exists. Therole
andaria-label
should be removed upon destroying the slider.Minimal demo showing persisting attributes:
https://codepen.io/SirDaev/pen/KKrdoPz
Before (when carousel is initialized):
After (when carousel is destroyed via unslick):
The text was updated successfully, but these errors were encountered: