Can we count your visit?

Our analytics service records the pages you view, so we can see which ones are useful. It saves a random ID in your browser, and we never use it for advertising. Read our privacy policy.

aria-labelledby

An ARIA attribute that names an element using text already on the page, by pointing to that text's id.

aria-labelledby is a WAI-ARIA attribute that gives an element its accessible name by pointing to the id of one or more other elements on the page. A dialog can point to its heading, so a screen reader announces “Delete account, dialog” when it opens.

It takes priority over every other way of naming an element, including aria-label and a label element. That makes it useful for reusing visible text, and risky when an id is wrong or the referenced text changes: the element ends up with the wrong name, or none. Note the spelling, labelledby, with two l's.

Source

World Wide Web Consortium (W3C), 2023. Checked .

Get help with every step.

We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.