Multi Image Carousel
A Multi-Image Carousel displays 4 images at a time but can contain more. It is best used to display multiple images from an event, theme, or category.
Dos
Use with at least 5 images
Variations
When hovering over the image, the full screen button appears at the bottom left. Full screen option enables users to launch a slideshow and navigate through the images forward and backward.
Accessibility
Keyboard Accessible
Users are able to use the keyboard to navigate through the actionable elements using the ‘Tab’ key to navigate/focus and ‘Enter’ or ‘Spacebar’ to activate and focus can be moved away from the component. WCAG 2.1.1: Keyboard; WCAG 2.1.2: No Keyboard Trap This navigation is done in sequential and logical order when there are multiple call to actions grouped together. WCAG 2.4.3: Focus Order
Hover and Focus State
Each actionable element within the carousel (e.g., navigation arrows, call to action links) has distinct styling on hover and focus. This provides a visual cue to the user that the element is focused and an action can be taken. WCAG 1.4.13: Content on hover or focus
Color Contrast
A contrast ratio of at least 4:5:1 between text and background color is ensured to enhance readability WCAG 1.4.3: Contrast (minimum)
Responsive
The component scales in relation to the to the screen size to prevent truncating content and reflows properly when zoomed up to 200% without horizontal scrolling WCAG 1.4.10: Reflow
Image
Provide effective alt text of the image that is concise and relevant. If the image is linked, the alt text should be succinct and descriptive of both the image and the linked content. Avoid phrases like “image of” since screen readers often already announce the type of element. WCAG 1.1: Text Alternatives
- Do not use an image to present text. True text should be used whenever possible, as it supports translation, is searchable, and is easier to maintain and customize. WCAG 1.4.5: Images of Text
Image Caption
Write caption text in clear and simple language. WCAG: 3.1.5: Reading Level
Layout
Maximum 10 images.
This component should be used to show multiple images from one theme or category. Arrow buttons don't appear if they aren’t needed (if screen shows all images in set).