aria-labelledby attribute | ariaLabelledby property

Sets or retrieves a list of elements that provide a label for the current object.

Syntax

HTML
<element aria-labelledby="p" ... >
JavaScript
object.setAttribute("aria-labelledby",value);var value = object.getAttribute("aria-labelledby");

Property values

Type: String

A space-separated list of id property values.

Standards information

Remarks

Used in Roles
No role required.

 

One or more id properties may be specified. A list of id properties is returned by Microsoft UI Automation.

Note  Recursive use of ariaLabelledby is not supported. An element that is using ariaLabelledby should not reference another element that is also using ariaLabelledby.

See also

Accessible Rich Internet Applications (ARIA)
Reference
aria-controls
aria-flowto
aria-describedby
aria-owns
aria-posinset
aria-setsize

 

 

Show:
© 2014 Microsoft