Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

GroupPosition

« nsIAccessible Page

Summary

This method returns grouping information. Used for tree items, list items, tab panel labels, radio buttons, etc. Also used for collectons of non-text objects.

 void groupPosition(
   out long aGroupLevel, 
   out long aSimilarItemsInGroup,
   out long aPositionInGroup
 );

Parameters

aGroupLevel
[out] 1-based, similar to ARIA aria-level property
aSimilarItemsInGroup
[out] 1-based, similar to ARIA aria-setsize property, inclusive of the current item.
aPositionInGroup
[out] 1-based, similar to ARIA aria-posinset property.

Remark

Alternatively this information is exposed by nsIAccessible.attribute attribute, also see group attributes page.

Refer to accessible web specifications to get an idea what elements expose group information.

Document Tags and Contributors

 Contributors to this page: teoli, Surkov.alexander
 Last updated by: teoli,