Favorites

ARIA search Role

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

The search role marks the part of a page that holds the site search, usually a form with a search box and button. The search element has this role.

☕
Enjoying this site?

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

Buy us a coffee

Description

The search role identifies the area of the page used to search: the site search, or a search for the content of the page or an app. It is a landmark. Landmarks let screen reader users list the main areas of a page and jump straight to one of them.

The <search> element has this role natively and is supported in all current browsers. Wrap it around the search <form>, or put role="search" on the form itself for older browsers. Don't confuse it with the searchbox role, which is for the text field inside.

If a page has more than one search area, such as a site search and a product filter, give each a name with aria-label.

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

Properties

Category
Landmark
HTML equivalent
<search>
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="search">

Example

<search>
<form action="#">
<label for="q">Search the site</label>
<input id="q" type="search" name="q">
<button>Search</button>
</form>
</search>

Browser Support

The following information will show you the current browser support for the search 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