Skip to content

Commit

Permalink
Regenerate test files
Browse files Browse the repository at this point in the history
  • Loading branch information
jscholes committed Mar 9, 2021
1 parent 491ab79 commit 9361ffa
Show file tree
Hide file tree
Showing 52 changed files with 2,808 additions and 733 deletions.
19 changes: 14 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,39 +40,48 @@ <h1>Test Patterns for Review</h1>
<td><a href="./tests/checkbox/index.html">Index</a></td>
<td><a href="./review/checkbox.html">Review</a></td>
<td>26</td>
<td><a href="https://github.com/w3c/aria-at/commit/5e0c75e" target="_blank">5e0c75e Reorder some assertions for consistency.
<td><a href="https://github.com/w3c/aria-at/commit/4398954" target="_blank">4398954 Add aria practice guide links to reference.csv(s) (#351)
</a></td>
</tr>
<tr>
<td>combobox-autocomplete-both</td>
<td><a href="./tests/combobox-autocomplete-both/index.html">Index</a></td>
<td><a href="./review/combobox-autocomplete-both.html">Review</a></td>
<td>30</td>
<td><a href="https://github.com/w3c/aria-at/commit/5e0c75e" target="_blank">5e0c75e Reorder some assertions for consistency.
<td><a href="https://github.com/w3c/aria-at/commit/4398954" target="_blank">4398954 Add aria practice guide links to reference.csv(s) (#351)
</a></td>
</tr>
<tr>
<td>combobox-select-only</td>
<td><a href="./tests/combobox-select-only/index.html">Index</a></td>
<td><a href="./review/combobox-select-only.html">Review</a></td>
<td>38</td>
<td><a href="https://github.com/w3c/aria-at/commit/c5837dc" target="_blank">c5837dc Generate test and review files automatically
</a></td>
</tr>
<tr>
<td>menubar-editor</td>
<td><a href="./tests/menubar-editor/index.html">Index</a></td>
<td><a href="./review/menubar-editor.html">Review</a></td>
<td>40</td>
<td><a href="https://github.com/w3c/aria-at/commit/5e0c75e" target="_blank">5e0c75e Reorder some assertions for consistency.
<td><a href="https://github.com/w3c/aria-at/commit/4398954" target="_blank">4398954 Add aria practice guide links to reference.csv(s) (#351)
</a></td>
</tr>
<tr>
<td>modal-dialog</td>
<td><a href="./tests/modal-dialog/index.html">Index</a></td>
<td><a href="./review/modal-dialog.html">Review</a></td>
<td>29</td>
<td><a href="https://github.com/w3c/aria-at/commit/5e0c75e" target="_blank">5e0c75e Reorder some assertions for consistency.
<td><a href="https://github.com/w3c/aria-at/commit/bdaa2ae" target="_blank">bdaa2ae Add tests for APG design pattern example: Modal Dialog (#361)
</a></td>
</tr>
<tr>
<td>tabs-manual-activation</td>
<td><a href="./tests/tabs-manual-activation/index.html">Index</a></td>
<td><a href="./review/tabs-manual-activation.html">Review</a></td>
<td>29</td>
<td><a href="https://github.com/w3c/aria-at/commit/" target="_blank"></a></td>
<td><a href="https://github.com/w3c/aria-at/commit/901b350" target="_blank">901b350 Create tests for APG design pattern example: Tabs with Manual Activation ( pull #387)
</a></td>
</tr>
</table>

Expand Down
84 changes: 56 additions & 28 deletions review/checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,34 @@
cb.filter = cb.comboboxNode.value;
cb.filterOptions();
cb.open();
}, moveFocusAfterCombobox: function(testPageDocument){
// sets focus on a link after the Combobox
testPageDocument.querySelector('#afterlink').focus();
}, moveFocusBeforeCombobox: function(testPageDocument){
// sets focus on a link before the Combobox
testPageDocument.querySelector('#beforelink').focus();
}, moveFocusToCombobox: function(testPageDocument){
// sets focus on the combobox
testPageDocument.querySelector('[role="combobox"]').focus();
}, openListbox: function(testPageDocument){
// sets focus on and expands the Combobox
testPageDocument.querySelector('[role="combobox"]').focus();
testPageDocument.defaultView.selectController.updateMenuState(true);
}, openListboxToApple: function(testPageDocument){
// sets focus on and expands the Combobox, and sets the focused option to 'Apple'
testPageDocument.querySelector('[role="combobox"]').focus();
testPageDocument.defaultView.selectController.updateMenuState(true);
testPageDocument.defaultView.selectController.onOptionChange(1);
}, openListboxToGuava: function(testPageDocument){
// sets focus on and expands the Combobox, and sets the focused option to 'Guave'
testPageDocument.querySelector('[role="combobox"]').focus();
testPageDocument.defaultView.selectController.updateMenuState(true);
testPageDocument.defaultView.selectController.onOptionChange(11);
}, openListboxToHuckleberry: function(testPageDocument){
// sets focus on and expands the Combobox, and sets the focused option to 'Huckleberry'
testPageDocument.querySelector('[role="combobox"]').focus();
testPageDocument.defaultView.selectController.updateMenuState(true);
testPageDocument.defaultView.selectController.onOptionChange(12);
}, focusonfirstlink: function(testPageDocument){
// Move focus to the link just before the meunbar
testPageDocument.querySelector('a').focus();
Expand Down Expand Up @@ -242,7 +270,7 @@ <h2>Test 1: Navigate to an unchecked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-01-navigate-to-unchecked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -315,7 +343,7 @@ <h2>Test 2: Navigate to an unchecked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-02-navigate-to-unchecked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -381,7 +409,7 @@ <h2>Test 3: Navigate to an unchecked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-03-navigate-to-unchecked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -427,7 +455,7 @@ <h2>Test 4: Navigate to a checked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-04-navigate-to-checked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -510,7 +538,7 @@ <h2>Test 5: Navigate to a checked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-05-navigate-to-checked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -586,7 +614,7 @@ <h2>Test 6: Navigate to a checked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-06-navigate-to-checked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -637,7 +665,7 @@ <h2>Test 7: Operate a checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-07-operate-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -700,7 +728,7 @@ <h2>Test 8: Operate a checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-08-operate-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -761,7 +789,7 @@ <h2>Test 9: Operate a checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-09-operate-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -803,7 +831,7 @@ <h2>Test 10: Read an unchecked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-10-read-unchecked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -881,7 +909,7 @@ <h2>Test 11: Read an unchecked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-11-read-unchecked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -959,7 +987,7 @@ <h2>Test 12: Read an unchecked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-12-read-unchecked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1009,7 +1037,7 @@ <h2>Test 13: Read a checked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-13-read-checked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1087,7 +1115,7 @@ <h2>Test 14: Read a checked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-14-read-checked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1165,7 +1193,7 @@ <h2>Test 15: Read a checked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-15-read-checked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1215,7 +1243,7 @@ <h2>Test 16: Read grouping information of a grouped checkbox in reading mode</h2
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-16-read-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1279,7 +1307,7 @@ <h2>Test 17: Read grouping information of a grouped checkbox in interaction mode
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-17-read-checkbox-group-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1343,7 +1371,7 @@ <h2>Test 18: Read grouping information of a grouped checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-18-read-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1387,7 +1415,7 @@ <h2>Test 19: Navigate sequentially through a checkbox group in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-19-navigate-sequentially-through-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1456,7 +1484,7 @@ <h2>Test 20: Navigate sequentially through a checkbox group</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-20-navigate-sequentially-through-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1502,7 +1530,7 @@ <h2>Test 21: Navigate into a checkbox group in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-21-navigate-into-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1533,7 +1561,7 @@ <h4>Tester Instructions</h4>
<li>X</li>
<li>Shift+X</li>
<li>F</li>
<li>F &#x2F; Shift+F</li>
<li>Shift+F</li>
<li>Tab</li>
<li>Shift+Tab</li>
</ul>
Expand All @@ -1559,7 +1587,7 @@ <h4>Tester Instructions</h4>
<li>X</li>
<li>Shift+X</li>
<li>F</li>
<li>F &#x2F; Shift+F</li>
<li>Shift+F</li>
<li>Tab</li>
<li>Shift+Tab</li>
</ul>
Expand All @@ -1579,7 +1607,7 @@ <h2>Test 22: Navigate into a checkbox group in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-22-navigate-into-checkbox-group-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1648,7 +1676,7 @@ <h2>Test 23: Navigate into a checkbox group</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-23-navigate-into-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1698,7 +1726,7 @@ <h2>Test 24: Navigate out of a checkbox group in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-24-navigate-out-of-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1767,7 +1795,7 @@ <h2>Test 25: Navigate out of a checkbox group in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-25-navigate-out-of-checkbox-group-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1836,7 +1864,7 @@ <h2>Test 26: Navigate out of a checkbox group</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Mon Feb 15 17:25:34 2021 -0600</li>
<li>Lasted edited: Wed Dec 2 17:26:26 2020 -0500</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-26-navigate-out-of-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down
Loading

0 comments on commit 9361ffa

Please sign in to comment.