共用方式為


ariaOwns property

Sets or retrieves a list of child objects, including elements that are not direct descendants of the current object.

 

Syntax

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

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.

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::ariaDescribedby

IHTMLElement5::ariaFlowto

IHTMLElement5::ariaLabelledby

IHTMLElement5::ariaPosinset

IHTMLElement5::ariaSetsize