Defines a string value that labels the current element. aria-label (property)
Diving deep into three attributes that bring clarity to elements in assistive technologies.
Be careful when you use the aria-label, aria-labelledby, and aria-describedby attributes, because they do not work consistently with all HTML elements. This is a short note on when (and when not) to uTags:
The aria-label attribute is used to define a string that labels the current element. Use it in cases where a text label is not visible on the screen. If there is visible text labeling the element, use aria-labelledby instead.
This might be interesting as well
A collection of bad practices in HTML, copied from real websites.