Accessible360 / accessible-slick

the last (accessible) carousel you'll ever need.
https://accessible360.github.io/accessible-slick
MIT License
254 stars 45 forks source link

Empty ID attributes marked as errors by W3C validator #44

Closed RomanSixty closed 2 years ago

RomanSixty commented 2 years ago

When cloning slides ID attributes of contained elements get cleared, but not removed. validator.w3.org marks those as error or "duplicate id" respectively. This can be easily fixed by using *.removeAttr('id') instead of *.attr('id', '').