On this page

Split button

Keys, what Split button gives you and what your team does.

Conformance

Split button meets WCAG 2.2 level AA when used as described on these pages. It follows the Menu Button pattern of the WAI-ARIA Authoring Practices.

Keyboard

Key Action
Tab Reaches the action, then the menu half.
Enter or Space Runs the action, or opens the menu on the menu half.
Menu keys As menu button.

What Split button gives you

  • Two real buttons, each with its own focus ring and name.
  • role="group" around the pair.

What your team does

  • Name the group with the action and the menu half with what it offers.
  • Disable both halves together, never one.

WCAG criteria

Criterion Level How
4.1.2 Name, Role, Value A Each half has a name; the menu half has aria-expanded
2.4.7 Focus Visible AA Each half shows its own ring