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
1-based, similar to ARIA aria-level property
aSimilarItemsInGroup
Ā 1-based, similar to ARIA aria-setsize property, inclusive of the current item.
aPositionInGroup
Ā 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.