共用方式為


ariaDescribedby property

Sets or retrieves a list of elements that describe the current object.

 

Syntax

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

Property values

Type: BSTR

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

Standards information

Remarks

Used in Roles No role required.

 

This property defines element relationships and associations that cannot be readily determined from the document structure.

The IHTMLElement5::ariaDescribedby property is intended to provide additional information which some users might need, and supplements the basic information provided by label.

If more than one IHTMLElement::id property is specified, all elements are combined together to create a single description.

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).

 

See also

Accessible Rich Internet Applications (ARIA)

Reference

IHTMLElement5::ariaControls

IHTMLElement5::ariaFlowto

IHTMLElement5::ariaLabelledby

IHTMLElement5::ariaOwns

IHTMLElement5::ariaPosinset

IHTMLElement5::ariaSetsize