if I use ul>li instead of div, it works but the html structure is wrong
See original GitHub issueThe ul>li is turned into
ul>div.slick-list>div.slick-track>li
So do I have to use just div?
Issue Analytics
- State:
- Created 9 years ago
- Comments:16 (3 by maintainers)
Top Results From Across the Web
Is it semantically incorrect to put a <div> or <span> inside of a ...
To clarify this, the question title asks for div or span, the example has just div. So the answers below say div is...
Read more >Stop using so many divs! An intro to semantic HTML
Doesn't change the structure at all, but you know what it is at a glance rather than needing to read and process the...
Read more >Handling common HTML and CSS problems - MDN Web Docs
Some problems can be solved by just taking advantage of the natural way in which HTML/CSS work. Unrecognized HTML elements are treated by...
Read more >Lesson 1: Understanding ID and Class in CSS
In this lesson you will learn how ID and Class attributes can be used to stylize individual elements ... You assign an id...
Read more >ANDI - Alerts
What should be done? Add HTML markup that will provide an accessible name for the form element. The <label> tag can be used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would like to note this issue is not just semantics, as W3/WAI suggests that carousels should be in a ul > li structure for accessibility reasons https://www.w3.org/WAI/tutorials/carousels/structure/
Is there some actual detriment that is taking place or are you just a staunch purist?