You are currently viewing outdated (<=3.x) Chameleon documentation on our old website. For version >=4.x, check out our new website.

Current release: 3.5.0 | hub

components

Accordion (design)

An accordion component is a list of items, allowing each item's content to be expanded and collapsed by clicking its header.

About accordions

Accordions are composed of a list of items, with a header button that can be clicked to toggle the visibility of extra content.

Behaviour

  • Each item's header is focusable
  • Content's visibility can togglebale by pressing Enter and Space
Accordion item 1
Accordion item 2
Accordion item 3

Guidelines

  • Should be used to help users navigate and digest large blocks of information.
  • Do not hide important information in the expandable area.

Accessibility

The content of an accordion has to be available for assistive technology. Therefore they require the use of aria-controls and aria-expanded.

© Copyright 2020 Mediahuis NV. All rights Reserved