diff --git a/index.html b/index.html index 47bfd8566..21b4f9c5d 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@

Test Patterns for Review

Index Review 26 - af45067 Change Command+Up/Down to Option+Up/Down in some commands + 0220017 Merge branch 'tests/combobox-select-only' of https://github.com/w3c/aria-at into tests/combobox-select-only @@ -48,7 +48,7 @@

Test Patterns for Review

Index Review 30 - af45067 Change Command+Up/Down to Option+Up/Down in some commands + 0220017 Merge branch 'tests/combobox-select-only' of https://github.com/w3c/aria-at into tests/combobox-select-only @@ -63,7 +63,7 @@

Test Patterns for Review

Index Review 40 - af45067 Change Command+Up/Down to Option+Up/Down in some commands + 0220017 Merge branch 'tests/combobox-select-only' of https://github.com/w3c/aria-at into tests/combobox-select-only diff --git a/review/checkbox.html b/review/checkbox.html index 25e4f80b0..d46ae0b2a 100644 --- a/review/checkbox.html +++ b/review/checkbox.html @@ -140,25 +140,22 @@ }, openListbox: function(testPageDocument){ // sets focus on and expands the Combobox testPageDocument.querySelector('[role="combobox"]').focus(); - window.setTimeout(onSelectReady, () => { - console.log('Opening listbox'); - window.selectController.updateMenuState(true) - }, 500); + 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(); - window.selectController.updateMenuState(true); - window.selectController.onOptionChange(1); + 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(); - window.selectController.updateMenuState(true); - window.selectController.onOptionChange(11); + 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(); - window.selectController.updateMenuState(true); - window.selectController.onOptionChange(2); + 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(); @@ -218,7 +215,7 @@

Test 1: Navigate to an unchecked checkbox in reading mode