Export (0) Print
Expand All

ariaSelected property

Sets or retrieves the selection state of this element.

Internet Explorer 8

 

Syntax

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

Property values

Type: BSTR

The selection state.

(true)

The element is selected.

(false)

The element is not selected.

(undefined)

Default. The element state is unknown.

Standards information

Remarks

Used in Roles
gridcell
option
row
tab

 

Selecting an element indicates that it is chosen for an action, and most likely has focus.

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-Selected

 

 

Community Additions

ADD
Show:
© 2014 Microsoft