Favorites

HTML aria-roledescription ARIA Attribute

aria-roledescription
ARIA AttributeThis ARIA attribute is supported by all modern browsers.
Updated 28th November 2026

The aria-roledescription attribute gives a custom, human-readable description of an element's role, replacing the standard role name that screen readers announce.

☕
Enjoying this site?

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

Buy us a coffee

Description

The aria-roledescription attribute changes the role name that screen readers announce for an element. For example, a <section> that is one slide in a carousel can be announced as "slide" instead of "region". The real role, and the behavior users expect from it, stay the same.

It should be used sparingly. Users learn what standard roles such as "button" mean and what they can do with them, and a custom description can hide that information. It is also not translated by screen readers, so localize the text yourself. Only use it on elements that have a real semantic role, never on a <div> or <span> without one.

Never use it to describe a widget's purpose in place of its role, such as calling a button "Close dialog button". The label is for the purpose; the role description, when used at all, is for the kind of thing it is.

Properties

Type
Global
Value
string
Default
None
Used with
All elements (global attribute)

Syntax

<element aria-roledescription="text">

Values

  • textA short, localized description of the role, such as "slide".

Example

<section aria-roledescription="carousel" aria-label="Featured products">
<div role="group" aria-roledescription="slide" aria-label="1 of 3">
<h3>Blue Mug</h3>
<p>$12.00</p>
</div>
</section>

Browser Support

The following information will show you the current browser support for the aria-roledescription ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.

This ARIA attribute 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