Favorites

ARIA banner Role

banner
ARIA Landmark RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

The banner role marks the site-wide header of a page, which usually holds the logo, site name and main navigation. The header element has this role when it isn't inside an article, section or similar element.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

Description

The banner role identifies the site-oriented header of a page: the area at the top that typically contains the logo, the site name, a search box and the main navigation. It is a landmark. Landmarks let screen reader users list the main areas of a page and jump straight to one of them.

The <header> element has the banner role automatically, but only when it is a direct part of the page, not nested inside <article>, <aside>, <main>, <nav> or <section>. A header inside those elements is just a header for that section.

A page should normally have only one banner. If a page contains an embedded document, such as an <iframe>, that document can have its own.

Use the native HTML <header> element where you can: it already has the banner role, with the expected keyboard and browser behavior built in.

Properties

Category
Landmark
HTML equivalent
<header>
Accessible name from
author
Required parent role
None
Required child roles
None

ARIA Attributes

Required
None
Supported
None
Prohibited
None
Global
All global ARIA attributes can also be used, such as aria-label, aria-labelledby, aria-describedby, aria-hidden.

Syntax

<element role="banner">

Example

<!-- Preferred -->
<header>
<a href="#"><strong>My Site</strong></a>
<nav aria-label="Main"><a href="#">Home</a> | <a href="#">Blog</a></nav>
</header>

<!-- Older markup -->
<div role="banner">
<strong>My Site</strong>
</div>

Browser Support

The following information will show you the current browser support for the banner ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.

This ARIA role is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee