setsize-posinset-level-5.html (2478B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>ARIA 1.0 Test Case 767</title> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 </head> 7 <body> 8 <h1>ARIA 1.0 Test Case 767</h1> 9 10 <div role="list"> 11 <div role="listitem">Item 1</div> 12 <div role="listitem">Item 2</div> 13 <div role="listitem">Item 3</div> 14 <div role="listitem">Item 4</div> 15 </div> 16 17 <h2>Description</h2> 18 <p>A div element with the role='list' with four child div elements with with the role='listitem'.</p> 19 20 <h2>Expected Results</h2> 21 22 <h3>MSAA + UIA Express</h3> 23 <ul> 24 <li>role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY</li> 25 <li>role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY</li> 26 <li>LegacyIAccessible.Description will be in the form X of Y, 27 where X is the position in list and Y = 4</li> 28 </ul> 29 30 <h3>MSAA + IAccessible2</h3> 31 <ul> 32 <li>role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY</li> 33 <li>role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY</li> 34 <li>The structure should be reflected in the accessibility tree as directed by aria-posinset.</li> 35 <li>function groupPosition() should be available and have the following results: 36 <ul> 37 <li>object attributes setsize:4, posinset:1-based position in the list></li> 38 <li>groupLevel: 0 or 1</li> 39 <li>similarItemsInGroup: 4</li> 40 <li>positionInGroup: position in list</li> 41 </ul> 42 </li> 43 </ul> 44 45 <h3>UIA</h3> 46 <ul> 47 <li>role="list": List</li> 48 <li>role="listitem": Listitem</li> 49 <li>LegacyIAccessible.Description will be in the form X of Y, 50 where X is the position in list and Y = 4</li> 51 </ul> 52 53 <h3>ATK/AT-SPI</h3> 54 <ul> 55 <li>role="list": ROLE_LIST and STATE_EDITABLE is not exposed</li> 56 <li>role="listitem": ROLE_LISTITEM and STATE_EDITABLE is not exposed</li> 57 <li>object attributes setsize:4, posinset:1-based position in the list></li> 58 </ul> 59 60 <h3>AXAPI</h3> 61 <ul> 62 <li>role="list": AXList and AXContentList = 'content list'</li> 63 <li>role="listitem": AXGroup = nil</li> 64 <li>AXARIASetSize: 4</li> 65 <li>AXARIAPosInSet: 1 based position in list</li> 66 <li>AXDisclosureLevel: 0 or 1 </li> 67 </ul> 68 </body> 69 </html>