Windows Dev Center

EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

aria-setsize attribute | ariaSetsize property

Sets or retrieves the set size of this element.

Syntax

HTML
<element aria-setsize="p" ... >

 

JavaScript
object.setAttribute("aria-setsize",value);var value = object.getAttribute("aria-setsize");

 

Property values

Type: Number

The set size.

Standards information

Remarks

Used in Roles
listitem
option

 

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

 

 

Afficher:
© 2015 Microsoft