Favorites

ARIA toolbar Role

toolbar
ARIA Document Structure RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

The toolbar role marks a group of controls, such as formatting buttons in a text editor, that users move between with the arrow keys.

☕
Enjoying this site?

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

Buy us a coffee

Description

The toolbar role identifies a collection of commonly used controls presented together, such as the Bold, Italic and Link buttons above a text editor. It should have an accessible name when there is more than one toolbar, and it is only useful when it contains three or more controls.

A toolbar is usually a single Tab stop: Tab moves to one control, and the Left and Right arrows move between the others (or Up and Down for a vertical toolbar). This keeps the Tab sequence short. Groups of related controls can be separated with a separator.

Properties

Category
Document Structure
HTML equivalent
None
Accessible name from
author
Required parent role
None
Required child roles
None

ARIA Attributes

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

Syntax

<element role="toolbar">

Example

<div role="toolbar" aria-label="Formatting" aria-controls="ed">
<button type="button" aria-pressed="false">Bold</button>
<button type="button" aria-pressed="false" tabindex="-1">Italic</button>
<button type="button" tabindex="-1">Link</button>
</div>
<div id="ed" contenteditable="true" style="border:1px solid #ccc;padding:4px;margin-top:4px">Type here</div>

Browser Support

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