Accordion

Accordions are used to toggle the visibility of content.

Use Cases

  • Users should be able to:
  • Navigate to and activate links with assistive tech (i.e., focus)

Interaction & Style

Similarly styled components shouldn't be used together if they don't each pass the 3:1 contrast ratio. Higher contrast helps differentiate between a group of similar components.

Keyboard Navigation

KeysActions
TabFocus lands on (non-disabled) links
Space / EnterActivates the (non-disabled) links