Nestable slider: cannot be set as ul

Browser: Any
OS: macOS

The nestable slider element sets each slide to be an li. However it does not set the div containing the list items to be a ul, it leaves it as a div which is semantically incorrect.

You cannot set the nestable slider element to be a ul so you have to set its parent container/block/div to a ul. However this is also semantically incorrect as the ul then contains other divs before you get to the list items. You can see this in the screenshot below. The line is blue is the container holding the nestable slider. There are then 3 divs before you get to the list of slider items. The div with the class splide__list should automatically be a ul rather than a div.

Hi Simon,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue. Is it possible that a plugin or custom code changes the elements?

Best regards,
timmse

Yes sorry, I’m using a frames card which is set to li.

Surely though as we can set the items in the slider to be list items we need the ability to set the slider to be a ul so for screen readers the html is semantically correct.

Hi Simon,
Then it is an improvement/feature request. It’s not our fault that the slides are created as li :wink: I’ll move the thread accordingly.

It seems like this is still an issue in 2025.
Is there any plan to fix this?

Same here: I need to set the slider to UL, and the slides to LI.

Same situation here. Let’s hope this feature comes in the next releases…