What is aria-labelledby?
The aria-labelledby attribute associates an element with one or more other DOM elements whose text content will serve as the accessible name. Unlike aria-label, it references text already visible on the page via the id attributes of the target elements. It is particularly useful for dialog boxes, regions, or form fields whose label is located in another container.
Related terms
Test your website’s accessibility
106 RGAA criteria analyzed in 5 minutes by our AI.
Run a free audit on scrutia.io