aria-posinset attribute | ariaPosinset property (Internet Explorer)

Switch View :
ScriptFree
aria-posinset attribute | ariaPosinset property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the current position of an item within a set.

Internet Explorer 8

Syntax

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

Property values

Type: Number

The current position.

Remarks

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)
W3C ARIA-Posinset

 

 

Build date: 2/13/2012