aria-label

noun

say it: “AIR-ee-uh LAY-bul” /ˈɛriə ˈleɪbəl/

An attribute that gives an element a name for screen readers, written as text, when the element has no visible words, such as an icon button.

What is aria-label?

aria-label — An ARIA attribute that supplies an accessible name as a text value.

In a sentence

  • “The heart icon button had aria-label="Save to favorites", so the screen reader said that instead of "button".”
  • “I gave each nav an aria-label, Main and Footer, so listeners could tell the two menus apart.”

Level: Journeyman · More HTML terms at this level

Updated