Favorites

HTML aria-describedby ARIA Attribute

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

The aria-describedby attribute links an element to other elements on the page that give it a description, such as a hint or error message for a form field.

☕
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-describedby attribute connects an element to one or more other elements that contain its accessible description. The value is a space-separated list of id values, and the text of those elements is joined to make the description. Screen readers usually read the description after the name and role, sometimes after a short pause.

A common use is a hint next to a form field, such as the password rules under a password input. The name says what the field is ("Password"), and the description adds extra detail ("At least 8 characters"). The referenced elements can be hidden with hidden or display: none and still be used, although visible text is usually better for everyone.

Descriptions are read as plain text, so links, lists and other structure inside them are lost. For long or structured content, use aria-details. For a text description that isn't on the page, use aria-description.

Properties

Type
Relationship
Value
ID reference list
Default
None
Used with
All elements (global attribute)

Syntax

<element aria-describedby="id1 id2">

Values

  • ID reference listOne or more id values of the elements that describe this one.

Example

<label for="pw">Password</label>
<input id="pw" type="password" aria-describedby="pw-hint">
<p id="pw-hint" style="font-size:.9em;color:#555">At least 8 characters, including a number.</p>

Browser Support

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