aria-label attribute | ariaLabel property
Defines a string value that labels the current element. See also aria-labelledby.
![]() |
Syntax
<element aria-label="..." ... />
Property values
Type: DOMString
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
| Used in Roles |
|
|---|
The aria-label attribute can be used when:
- the name of an element cannot be determined programmatically from the content of the element
- providing a visible label and/or tooltip is not the desired user experience
However, if the label text is visible on screen, you should use aria-labelledby instead of aria-label.
See also
Show:
