On this page

Navigation menu

What Navigation menu gives you and what your team does.

Conformance

Navigation menu meets WCAG 2.2 level AA when used as described on these pages.

Keyboard

  • Tab moves through the triggers and links.
  • Enter, Space or Arrow Down opens a panel; Esc closes it.
  • Arrow keys move within the bar and the panel.

What Navigation menu gives you

  • A nav with aria-expanded on each trigger.
  • aria-current="page" on the active link.

What your team does

  • Keep the panels to links; no forms or buttons in them.

WCAG criteria

Criterion Level How
2.1.1 Keyboard A Panels open and close by keyboard
1.4.1 Use of Color A The current page also has the yellow bar