--- a/ARIA/1.0/tests/test-files/setsize-posinset-level/setsize-posinset-level-5.html Mon Apr 08 12:41:41 2013 -0500
+++ b/ARIA/1.0/tests/test-files/setsize-posinset-level/setsize-posinset-level-5.html Mon Apr 08 12:52:30 2013 -0500
@@ -1,45 +1,72 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
- <head>
- <title>ARIA 1.0 Test Case E</title>
+ <head>
+ <title>ARIA 1.0 Test Case 767</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
- <h1>ARIA 1.0 Test Case E</h1>
+ <h1>ARIA 1.0 Test Case 767</h1>
- <ul role="tree" id="ID_LISTBOX">
- <li id="ID_TREEITEM_1" role="treeitem" tabindex="-1" aria-setsize="10" aria-level="2" aria-posinset="5">Tree item 5</li>
- <li id="ID_TREEITEM_2" role="treeitem" tabindex="-1" aria-setsize="10" aria-level="2" aria-posinset="6">Tree item 6</li>
- <li id="ID_TREEITEM_3" role="treeitem" tabindex="-1" aria-setsize="10" aria-level="2" aria-posinset="7">Tree item 7</li>
- </ul>
+ <div role="list">
+ <div role="listitem">Item 1</div>
+ <div role="listitem">Item 2</div>
+ <div role="listitem">Item 3</div>
+ <div role="listitem">Item 4</div>
+ </div>
<h2>Description</h2>
- <p>A ul element with the role='tree' has three child li elements each with role='option'.
- Each of the li elements with the role='treeitem' have aria-setsize='10' attribute, aria-level='2' atrribute and aria-posinset attribute
- numbered consecuatively from 5 to 7.
- When focus is on the third li element, the structure of the accessibility tree will
- be represented in the accessibility tree using the following table:</p>
-
- <p><a href="http://www.w3.org/TR/2012/WD-wai-aria-implementation-20120110/#mapping_state-property_table">http://www.w3.org/TR/2012/WD-wai-aria-implementation-20120110/#mapping_state-property_table</a></p>
+ <p>A div element with the role='list' with four child div elements with with the role='listitem'.</p>
- <h2>Accessibility API Information</h2>
- <ul>
- <li>set size: 10</li>
- <li>position in set: 7</li>
- <li>level of set in the hierarchy: 2</li>
- </ul>
-
- <script type="text/javascript">
+ <h2>Expected Results</h2>
- function setFocus() {
- var node = document.getElementById('ID_TREEITEM_3');
- node.focus();
- }
-
- window.addEventListener('load', setFocus);
- </script>
+ <h3>MSAA + UIA Express</h3>
+ <ul>
+ <li>role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY</li>
+ <li>role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY</li>
+ <li>LegacyIAccessible.Description will be in the form X of Y,
+ where X is the position in list and Y = 4</li>
+ </ul>
+
+ <h3>MSAA + IAccessible2</h3>
+ <ul>
+ <li>role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY</li>
+ <li>role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY</li>
+ <li>The structure should be reflected in the accessibility tree as directed by aria-posinset.</li>
+ <li>function groupPosition() should be available and have the following results:
+ <ul>
+ <li>groupLevel: 1</li>
+ <li>similarItemsInGroup: 4</li>
+ <li>positionInGroup: position in list</li>
+ </ul>
+ </li>
+ </ul>
+
+ <h3>UIA</h3>
+ <ul>
+ <li>role="list": List</li>
+ <li>role="listitem": Listitem</li>
+ <li>LegacyIAccessible.Description will be in the form X of Y,
+ where X is the position in list and Y = 4</li>
+ </ul>
+
+ <h3>ATK/AT-SPI</h3>
+ <ul>
+ <li>role="list": ROLE_LIST and STATE_EDITABLE is not exposed</li>
+ <li>role="listitem": ROLE_LISTITEM and STATE_EDITABLE is not exposed</li>
+ <li>setsize: 4</li>
+ <li>posinset: position in list</li>
+ <li>level: 1 </li>
+ </ul>
+
+ <h3>AXAPI</h3>
+ <ul>
+ <li>role="list": AXList and AXContentList = 'content list'</li>
+ <li>role="listitem": AXGroup = nil</li>
+ <li>AXARIASetSize: 4</li>
+ <li>AXARIAPosInSet: position in list</li>
+ <li>AXDisclosureLevel: 1 </li>
+ </ul>
</body>
-
</html>
--- a/ARIA/1.0/tests/test-files/setsize-posinset-level/setsize-posinset-level-6.html Mon Apr 08 12:41:41 2013 -0500
+++ b/ARIA/1.0/tests/test-files/setsize-posinset-level/setsize-posinset-level-6.html Mon Apr 08 12:52:30 2013 -0500
@@ -1,66 +1,76 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
+<html>
<head>
- <title>ARIA 1.0 Test Case F</title>
+ <title>ARIA 1.0 Test Case 768</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
- <h1>ARIA 1.0 Test Case F</h1>
+ <h1>ARIA 1.0 Test Case 768</h1>
- <ul role="tree" id="ID_LISTBOX">
- <li role="treeitem" tabindex="-1" aria-setsize="10" aria-level="2" aria-posinset="5">Tree item 5
- <ul role="tree">
- <li role="treeitem" tabindex="-1" aria-setsize="8" aria-level="3" aria-posinset="3">Tree item 53</li>
- <li role="treeitem" tabindex="-1" aria-setsize="8" aria-level="3" aria-posinset="4">Tree item 54</li>
- <li role="treeitem" tabindex="-1" aria-setsize="8" aria-level="3" aria-posinset="5">Tree item 55</li>
- </ul>
- </li>
- <li role="treeitem" tabindex="-1" aria-setsize="10" aria-level="2" aria-posinset="6">Tree item 6
- <ul role="tree">
- <li role="treeitem" tabindex="-1" aria-setsize="7" aria-level="3" aria-posinset="2">Tree item 62</li>
- <li role="treeitem" tabindex="-1" aria-setsize="7" aria-level="3" aria-posinset="3">Tree item 63</li>
- <li id="ID_TREEITEM_TARGET" role="treeitem" tabindex="-1" aria-setsize="7" aria-level="3" aria-posinset="4">Tree item 64</li>
- </ul>
- </li>
- <li role="treeitem" tabindex="-1" aria-setsize="10" aria-level="2" aria-posinset="7">Tree item 7
- <ul role="tree">
- <li role="treeitem" tabindex="-1" aria-setsize="9" aria-level="3" aria-posinset="6">Tree item 76</li>
- <li role="treeitem" tabindex="-1" aria-setsize="9" aria-level="3" aria-posinset="7">Tree item 77</li>
- <li role="treeitem" tabindex="-1" aria-setsize="9" aria-level="3" aria-posinset="8">Tree item 78</li>
- </ul>
- </li>
- </ul>
+ <div role="list">
+ <div role="listitem" aria-level="2">Item 1</div>
+ <div role="listitem" aria-level="2">Item 2</div>
+ <div role="listitem" aria-level="2">Item 3</div>
+ <div role="listitem" aria-level="2">Item 4</div>
+ </div>
<h2>Description</h2>
- <p>A ul element with the role='tree' has three child li elements each with role='option'.
- Each of the li elements with the role='treeitem' have aria-setsize='10' attribute, aria-level='2'
- atrribute and aria-posinset attribute numbered consecuatively from 5 to 7.
- Each of the li elements also contains a nested tree widget using ul and li elements with each nested tree
- containing three li elements with aria-setsize and aria-posinset to values that are greater than the 3 elements
- in the list and aria-level='3' attribute. The eighth li element in the document will have aria-sertzie='7', aria-posinset='4'.
- When focus is on the eighth li element, the structure of the accessibility tree will
- be represented in the accessibility tree using the following table:</p>
-
- <p><a href="http://www.w3.org/TR/2012/WD-wai-aria-implementation-20120110/#mapping_state-property_table">http://www.w3.org/TR/2012/WD-wai-aria-implementation-20120110/#mapping_state-property_table</a></p>
+ <p>A div element with the role='list' with four child div elements with with the role='listitem' with a aria-level='2'.</p>
- <h2>Accessibility API Information</h2>
- <ul>
- <li>set size: 7</li>
- <li>position in set: 4</li>
- <li>level of set in the hierarchy: 3</li>
- </ul>
-
- <script type="text/javascript">
+ <h2>Expected Results</h2>
- function setFocus() {
- var node = document.getElementById('ID_TREEITEM_TARGET');
- node.focus();
- }
-
- window.addEventListener('load', setFocus);
- </script>
+ <h3>MSAA + UIA Express</h3>
+ <ul>
+ <li>role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY</li>
+ <li>role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY</li>
+ <li>LegacyIAccessible.Description will be in the form X of Y,
+ where X is the position in list and Y = 4</li>
+ <li>Expose level=1 in AriaProperites for list items</li>
+ </ul>
+
+ <h3>MSAA + IAccessible2</h3>
+ <ul>
+ <li>role="list": ROLE_SYSTEM_LIST + STATE_SYSTEM_READONLY</li>
+ <li>role="listitem": ROLE_SYSTEM_LISTITEM + STATE_SYSTEM_READONLY</li>
+ <li>The structure should be reflected in the accessibility tree as directed by aria-posinset.</li>
+ <li>function groupPosition() should be available and have the following results:
+ <ul>
+ <li>groupLevel: 2</li>
+ <li>similarItemsInGroup: 4</li>
+ <li>positionInGroup: position in list</li>
+ </ul>
+ </li>
+ </ul>
+
+ <h3>UIA</h3>
+ <ul>
+ <li>role="list": List</li>
+ <li>role="listitem": Listitem</li>
+ <li>LegacyIAccessible.Description will be in the form X of Y,
+ where X is the position in list and Y = 4</li>
+ <li>Expose level=1 in AriaProperites for list items</li>
+ </ul>
+
+ <h3>ATK/AT-SPI</h3>
+ <ul>
+ <li>role="list": ROLE_LIST and STATE_EDITABLE is not exposed</li>
+ <li>role="listitem": ROLE_LISTITEM and STATE_EDITABLE is not exposed</li>
+ <li>setsize: 4</li>
+ <li>posinset: position in list</li>
+ <li>level: 2 </li>
+ </ul>
+
+ <h3>AXAPI</h3>
+ <ul>
+ <li>role="list": AXList and AXContentList = 'content list'</li>
+ <li>role="listitem": AXGroup = nil</li>
+ <li>AXARIASetSize: 4</li>
+ <li>AXARIAPosInSet: position in list</li>
+ <li>AXDisclosureLevel: 2 </li>
+ </ul>
+
</body>
-
</html>