Synonyms: Slide show, diashow, image rotator, cover flow, element flow, slider

See also: Accordion, Tabs

A carousel is used for the grouping of blocks of content that can be scrolled through (see DIN EN ISO 9241-161: 8.3).

Several implementation variants are possible, including:

  • Only one content block is visible at a time, several content blocks are visible, or all content blocks are visible.
  • The visible content blocks are completely visible, conceal each other or are truncated at the edge of the screen.
  • The content blocks are arranged vertically or horizontally side by side, in a circle, or one above the other.
  • All visible content blocks are displayed in the same way or a central content block is highlighted, while the content blocks are displayed adjacently in smaller form or grayed out.
  • It is possible to scroll through the content blocks automatically or this can be done by the user. - The scrolling through the content blocks takes place using a scrollbar, button for scrolling back and forth, or with a pagination.
  • The content blocks may contain graphical elements, text, and control elements.

Examples:

Figure: Carousel
No.PropertyDescriptionClassificationReference
876ContrastIf the control elements of the carousel are labeled with text, they must have a contrast ratio of at least 4.5:1.MustEN 301 549: 9.1.4.3, 11.1.4.3
877ContrastIf the control elements of the carousel are labeled with graphics, they must have a contrast ratio of at least 3:1.MustEN 301 549: 9.1.4.11, 11.1.4.11
878ContrastIf, in terms of the pagination, the current page only differs from the rest of the pages due to its color, the colors must have a contrast ratio of at least 3:1.MustEN 301 549: 9.1.4.1, 11.1.4.1
879AnimationIf the content blocks in the carousel are scrolled through automatically, a mechanism must be implemented to stop the automatic scrolling and it must then be possible to scroll through the content blocks manually.MustEN 301 549: 9.2.2.1, 11.2.2.1, 9.2.2.2, 11.2.2.2
880AnimationIf moving animations are displayed during the operation of the carousel, a mechanism should be available to disable them(see ) animations).

Note: This applies to scrolling through the content blocks, for example..

ShouldWCAG 2.1.: 2.3.3 (AAA)
881Focus visibilityIf an element in the carousel receives the keyboard focus, the focus indicator must be visible(see focus indicator).MustEN 301 549: 9.2.4.7, 11.2.4.7
No.PropertyDescriptionClassificationReference
882Use of the keyboardIt must be possible to access, operate and exit the carousel and the elements that it contains with the keyboard (see Use of the keyboard table, below).MustEN 301 549: 9.2.1.1, 11.2.1.1, 9.2.1.2, 11.2.1.2
883Use of the keyboardThe hidden content blocks and their contents must not receive keyboard focus.MustEN 301 549: 9.1.3.1, 11.1.3.1
884UpdatesDuring the focusing of the control elements of the carousel, no change of context may occur.MustEN 301 549: 9.3.2.1, 11.3.2.1
884UpdatesWhen operating the carousel, no loss of focus may occur.

Note: The focus must remain on the respective control element or be placed at the beginning of the shown area.

MustEN 301 549: 9.2.4.3, 11.2.4.3
885Focus orderThe focus order in the carousel should be appropriate to the work task.ShouldDIN EN ISO 9241-171: 9.3.18
886Focus orderIf the carousel contains several control elements that receive the focus with TAB, it should be possible to skip the carousel with the keyboard (see navigation sequence)ShouldDIN EN ISO 9241-171: 9.3.17
887Click areaThe click area of the control elements of the carousel should be at least 24 x 24 px (see use of the pointing device).ShouldWCAG 2.2
Permalink "Use of the keyboard: carousel"
ActionKeyClassification
Focusing of the first element in the carouselTABRequired
Exiting the carouselTAB

Note: There can be several control elements within the carousel that have been previously focused with TAB.

Required
Navigating within the carouselTAB or LEFT/RIGHT/UP/DOWN ARROW (depending on the used control element)Required
Quick navigation between the content blocksPOS1, END, PAGE UP/DOWNRecommended
Activating of the control elements in the carouselENTER or SPACE (depending on the used control element)Required
Permalink "Use of the pointing device: carousel"
ActionKeyClassification
Enabling of the control elements in the carouselleft clickRequired
No.PropertyDescriptionClassificationReference
888RoleThe role of the control elements in the carousel must be communicated to the Accessibility API (see Accessibility API).

Note: If the carousel role is not known in the programming language used, the entire carousel should be located in a labeled group. The label or description of the group should contain a note about the element type of the carousel.

MustEN 301 549: 9.4.1.2, 11.4.1.2, 11.5.2.5
889StatusThe status of the content blocks and control elements in the carousel must be communicated to the Accessibility API (see Element status).

Note: This also applies to the “current content block” status in the carousel or the pagination.

MustEN 301 549: 9.4.1.2, 11.4.1.2, 11.5.2.5
890NameThe control elements in the carousel must have a concise and expressive Accessible Name.MustEN 301 549: 9.2.4.6, 11.2.4.6, 9.4.1.2, 11.4.1.2, 11.5.2.5, 11.5.2.8
891NameIf the control elements in the carousel have a description, it must be communicated as an Accessible Description.MustEN 301 549: 9.4.1.2, 11.4.1.2, 11.5.2.5
891OperationIt must be possible to access, operate and exit the carousel and its control elements with assistive technology (see Accessibility API).MustEN 301 549: 9.4.1.2, 11.4.1.2, 11.5.2.12, 11.5.2.17
892UpdateUpdates concerning the Accessible Name or status of the content blocks and the control elements in the carousel must be communicated to the Accessibility API (see Accessibility API).MustEN 301 549: 9.4.1.2, 11.4.1.2, 11.5.2.15
893Desktop: PositionThe size and position of the content blocks and the control elements in the carousel must be communicated to the Accessibility API (see Focus indicator).MustEN 301 549: 11.5.2.5, 11.2.5.13

Information about this article

You are welcome to send feedback by email about our handout!