Favorites

ARIA form Role

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

The form role marks a region that contains form controls. The form element becomes a form landmark only when it has an accessible name.

☕
Enjoying this site?

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

Buy us a coffee

Description

The form role identifies a region containing a collection of items and objects that, as a whole, combine to create a form. It is a landmark, so users can jump to it directly. Landmarks let screen reader users list the main areas of a page and jump straight to one of them.

The <form> element only exposes the form role when it has an accessible name, given with aria-label, aria-labelledby or title. Unnamed forms are not listed as landmarks. Name the forms that users are likely to want to jump to, such as a contact form or a sign-up form, and leave small forms unnamed to avoid cluttering the list.

Adding role="form" to a <div> doesn't add form behavior, such as submitting on Enter, so use a real <form> element. For a search form, use the search role or the <search> element instead.

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

Properties

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

Example

<form aria-labelledby="contact-title">
<h2 id="contact-title">Contact us</h2>
<label for="msg">Message</label>
<textarea id="msg"></textarea>
<button>Send</button>
</form>

Browser Support

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