carousel
A widget that shows one item at a time from a set, such as images, and lets users swipe or click to move between them.
In more detail
Accessible carousels have visible previous and next controls and do not rotate automatically without a pause button. A horizontal carousel commonly uses touch-action: pan-y so vertical page scrolling still works.
Related terms
- touch-action — The CSS property that tells the browser in advance which touch gestures it should handle itself, such as vertical panning, and which to leave to your code.
- gesture — A touch movement with a meaning, such as a swipe, a pinch to zoom or a pan to scroll.
- widget — A self-contained interactive piece of an interface, such as a tab panel, date picker or accordion.
Taught in
- Passive Listeners, Scroll Performance And Touch Interactions — Frontend Architecture & Web Platform