Description
Strongly based on XhmikosR ideas in #28210.
- Adding a util function to get siblings elements.
- Adding a js attribute to carousel to fix the number of items in one frame
- Add some CSS to have items side by side
- Removed unused class on generated placeholders
Motivation & Context
Seems to be an asked feature.
Type of changes
-
New feature (non-breaking change which adds functionality)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
My change introduces changes to the documentation -
I have updated the documentation accordingly -
I have added tests to cover my changes -
All new and existing tests passed
Live previews
Related issues
Still todo
Add tests
Better doc
May want to add a focus handle on the first child only (and tabindex=-1
on the remaining) for accessibility purpose (avoid dupes on screen readers)