How to build an accessible Header in React

role="banner" marks the page header landmark; the active link is marked aria-current="page", and links/actions are real focusable controls so keyboard users can navigate the bar

When to use a Header

When not to use it

Keyboard interactions

Role banner, verified at WCAG 2.2-AA.

Common mistakes

Avoid: Building complex multi-menu console chrome on top of Header

Prefer: <ShellHeader> for console-grade navigation

Header is intentionally simple; console patterns belong to ShellHeader which provides them natively

Example

<Header brand="cascivo" links={[{ label: 'Docs', href: '/docs' }]} />

See the full Header reference →