aria-labelledby

noun

say it: “AIR-ee-uh LAY-buld by” /ˈɛriə ˈleɪbəld baɪ/

An attribute that names an element using the text of another element on the page, pointed to by its id, such as a heading that names a section.

What is aria-labelledby?

aria-labelledby — An ARIA attribute that uses other elements' text to form an accessible name.

In a sentence

  • “I used aria-labelledby on the section so it is named by the "Weekend Specials" heading already on screen.”
  • “The pop-up's aria-labelledby pointed at its heading, so the screen reader announced "Adopt Biscuit, dialog".”

Level: Journeyman · More HTML terms at this level

Updated