Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ariaLabelledby property

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

Internet Explorer 8

Syntax

object.setAttribute("ariaLabelledby",value);var value = object.getAttribute("ariaLabelledby");

Property values

Type: BSTR

A space-separated list of IHTMLElement::id property values.

Standards information

Remarks

Used in Roles
No role required.

 

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

In addition to providing the IHTMLElement5::ariaLabelledby property, you should also use a label element to indicate a label for previous versions of the browser.

Note  For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example object.setAttribute("aria-valuenow", newValue).

If more than one IHTMLElement::id is specified, only the first id is recognized by Windows Internet Explorer 8.

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

See also

Accessible Rich Internet Applications (ARIA)
Reference
IHTMLElement5::ariaControls
IHTMLElement5::ariaFlowto
IHTMLElement5::ariaDescribedby
IHTMLElement5::ariaOwns
IHTMLElement5::ariaPosinset
IHTMLElement5::ariaSetsize

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.