# ARIA 1.0 Test Case 763

Option 1
Option 2
Option 3

## Description

A div element with the role='listbox' has three child div elements each with role='option' and aria-setsize='3'. The 1st child div element has aria-posinset='1', the 2nd child div element has aria-posinset='2' and the 3rd child div element has aria-posinset='3'.

## Expected Results

### MSAA + UIA Express

- role="tree": ROLE_SYSTEM_LIST
- role="treeitem": ROLE_SYSTEM_LISTITEM
- LegacyIAccessible.Description will be in the form X of Y, where X is the value of aria-posinset and Y is the value of aria-setsize

### MSAA + IAccessible2

- role="tree": ROLE_SYSTEM_LIST
- role="treeitem": ROLE_SYSTEM_LISTITEM
- The structure should be reflected in the accessibility tree as directed by aria-posinset.
- function groupPosition() should be available and have the following results:
  - groupLevel: 1
  - similarItemsInGroup: 3
  - positionInGroup: aria-posinest value

### UIA

- role="tree": List
- role="treeitem": ListItem
- LegacyIAccessible.Description will be in the form X of Y, where X is the value of aria-posinset and Y is the value of aria-setsize

### ATK/AT-SPI

- role="tree": ROLE_LIST
- role="treeitem": ROLE_LISTITEM
- aria-setsize: not mapped to setsize: value
- aria-posinset: is mapped to posinset: value

### AXAPI

- role="tree": AXList = 'list'
- role="treeitem": AXGroup = 'group'
- aria-setsize: is mapped to AXARIASetSize: value
- aria-posinset: is mapped to AXARIAPosInSet: value