# ARIA 1.0 Test Case 769

Item 1
Item 1A
Item 1B
Item 2
Item 2A
Item 2B

## Description

A div element with the role='list' with two child div elements with with the role='listitem'. Each of the child div element also contain a div element with the role="group" with two child div elements with the role='listitem'.

## Expected Results

### MSAA + UIA Express

- role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY
- role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY
- LegacyIAccessible.Description will be in the form X of Y, where X is the position in list and Y = 2 (since all lists have 2 items)
- Expose level=1 in AriaProperites for list items for "Item 1" and "Item 2"
- Expose level=2 in AriaProperites for list items for "Item 1A", "Item 1B", "Item 2A" and "Item 2B"

### MSAA + IAccessible2

- role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY
- role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY
- function groupPosition() should be available and have the following results:
  - groupLevel: 1 for "Item 1" and "Item 2" (since all lists have 2 items)
  - groupLevel: 2 for "Item 1A", "Item 1B", "Item 2A" and "Item 2B"
  - similarItemsInGroup: 2
  - positionInGroup: position in list

### UIA

- role="list": List
- role="listitem": Listitem
- LegacyIAccessible.Description will be in the form X of Y, where X is the position in list and Y = 2 (since all lists have 2 items)
- 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 2B"

### ATK/AT-SPI

- role="list": ROLE_LIST and STATE_EDITABLE is not exposed
- role="listitem": ROLE_LISTITEM and STATE_EDITABLE is not exposed
- setsize: 2 (since all lists have 2 items)
- posinset: position in list
- level: 1 for "Item 1" and "Item 2"
- level: 2 for "Item 1A", "Item 1B", "Item 2A" and "Item 2B"

### AXAPI

- role="list": AXList and AXContentList = 'content list'
- role="listitem" for "Item 1" and "Item 2": AXGroup = 'group'
- role="listitem" for "Item 1A", "Item 1B", "Item 2A" and "Item 2B": AXGroup = nil
- AXARIASetSize: 2 (since all lists have 2 items)
- AXARIAPosInSet: position in list
- AXDisclosureLevel: 1 for "Item 1" and "Item 2"
- AXDisclosureLevel: 2 for "Item 1A", "Item 1B", "Item 2A" and "Item 2B"