Description
A div element with the role='tree' has two child div elements with role='treeitem' and aria-setsize='2'.
The child div element has aria-posinset='1', the 2nd child div element has aria-posinset='2'.
Each child div element has a child div element with the role="group" with two child div elements
with the role ="treeitem' and aria-setsize='2'
Expected Results
MSAA + UIA Express
- role="tree": ROLE_SYSTEM_OUTLINE
- role="treeitem": ROLE_SYSTEM_OUTLINEITEM
- 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
- Expose level=1 in AriaProperites for "Item 1" and "Item 2"
- Expose level=2 in AriaProperites for "Item 1A", "Item 1B", "Item 2A" and "Item 2"
MSAA + IAccessible2
- role="tree": ROLE_SYSTEM_OUTLINE
- role="treeitem": ROLE_SYSTEM_OUTLINEITEM
- 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 for "Item 1" and "Item 2"
- groupLevel: 2 for "Item 1A", "Item 1B", "Item 2A" and "Item 2B"
- similarItemsInGroup: 3
- positionInGroup: aria-posinest value
UIA
- role="tree": Tree
- role="treeitem": TreeItem
- 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
- Expose level=1 in AriaProperites for "Item 1" and "Item 2"
- Expose level=2 in AriaProperites for "Item 1A", "Item 1B", "Item 2A" and "Item 2"
ATK/AT-SPI
- role="tree": ROLE_TREE
- role="treeitem": ROLE_TREEITEM
- aria-setsize: not mapped to setsize:.
- aria-posinset: is mapped to posinset:
- aria-level: 1 for "Item 1" and "Item 2"
- aria-level: 2 for "Item 1A", "Item 1B", "Item 2A" and "Item 2B"
AXAPI
- role="tree": AXList and AXContentList = 'content list'
- role="treeitem": AXGroup =
- aria-setsize: is mapped to AXARIASetSize:
- aria-posinset: is mapped to AXARIAPosInSet:
- AXDisclosureLevel: 1 for "Item 1" and "Item 2"
- AXDisclosureLevel: 2 for "Item 1A", "Item 1B", "Item 2A" and "Item 2B"