Semantic feature | Set the tag element which wrap the slides
Author: HectorLSCreated May 5, 2021Updated Dec 6, 2024
Labelsfeature request
In order to improve the semantic of the user sliders, would be great to have an option like
flickitySliderTag: 'dl' | 'ul' | 'ol' | 'div' Right now i can use a main wrapper as <ol> for example, but thats wrong, since library add two divs before actually appending the slides, and the <li> must be direct child of <ol> or <ul>
(See permitted content for <ol> on developer.mozilla.org)
The desired result is the following, see image (i just changed the tags with the inspector in the Demo page to create the sample)

Source: metafizzy/flickity