ARIA banner Role
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.
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
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.
Desktop





Tablets & Mobile





