aria-describedby

noun

say it: “AIR-ee-uh dih-SKRYBD by” /ˈɛriə dɪˈskraɪbd baɪ/

An attribute that points to other text on the page, by its id, that screen readers read as extra description after an element's name, such as a hint under a form field.

What is aria-describedby?

aria-describedby — An ARIA attribute that identifies elements providing an accessible description.

<input id="password" aria-describedby="password-help">
<p id="password-help">Use at least 12 characters.</p>

In a sentence

  • “Thanks to aria-describedby, the screen reader said the error, Enter a date after today, right after the field's name.”
  • “I tied the hint At least 12 characters to the password box with aria-describedby.”
  • “I connected the error message to the email box with aria-describedby, so listeners heard what went wrong.”
  • “With aria-describedby, the screen reader said "Password, at least 12 characters" when I reached the field.”

Level: Journeyman · More HTML terms at this level

Updated