content
content copied to clipboard
Usage notes for aria-label are inaccurate
MDN URL
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
What specific section or headline is this issue about?
Associated roles
What information was incorrect, unhelpful, or incomplete?
This section describes aria-label support in terms of the specification -- that aria-label should work on any element which is allowed to have an accessible name. However in practice, this is not the case; aria-label actually only works on interactive elements, widgets, landmarks, img and iframe.
What did you expect to see?
The section should describe where aria-label can be used in practice, not just reproduce the letter of the specification.
Do you have any supporting links, references, or citations?
https://www.tpgi.com/short-note-on-aria-label-aria-labelledby-and-aria-describedby/
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/accessibility/aria/attributes/aria-label - MDN URL: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/accessibility/aria/attributes/aria-label/index.md
- Last commit: https://github.com/mdn/content/commit/80421c1f883f661bca11d186c7340cce6f82b9d8
- Document last modified: 2022-09-16T04:50:32.000Z