Favorites

ARIA document Role

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

The document role marks content that users should read like a document, with normal screen reader reading keys, often used inside an application 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 document role identifies an element containing content that assistive technology users may want to browse in reading mode. It is the opposite of application: screen readers use their normal reading commands inside it.

Every web page is already a document, so the role is only needed to switch reading mode back on inside an element with the application role, or inside a widget such as a dialog that contains a lot of text to read, like a message viewer in an email app.

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

Properties

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

ARIA Attributes

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

Syntax

<element role="document">

Example

<div role="application" aria-label="Mail">
<div role="document" aria-label="Message from Sam" tabindex="0">
<h2>Hello!</h2>
<p>Just checking in about the project.</p>
</div>
</div>

Browser Support

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