diff --git a/tests/disclosure-navigation/data/assertions.csv b/tests/disclosure-navigation/data/assertions.csv new file mode 100644 index 000000000..4be89ebdc --- /dev/null +++ b/tests/disclosure-navigation/data/assertions.csv @@ -0,0 +1,21 @@ +assertionId,priority,assertionStatement,assertionPhrase,refIds +listBoundary,1,List boundary is conveyed,convey list boundary,list +nameAbout,1,"Name of the button, 'About', is conveyed",convey name 'About',button +nameAcademics,1,"Name of the button, 'Academics', is conveyed",convey name 'Academics',button +nameAdmissions,1,"Name of the button, 'Admissions', is conveyed",convey name 'Admissions',button +nameCampusTours,1,"Name of the link, 'Campus Tours', is conveyed",convey name 'Campus Tours',link +nameMythicalUniversity,1,"Name of the navigation region, 'Mythical University', is conveyed",convey name 'Mythical University',aria-label +nameMythicalUniversitySamplePageContent,1,"Name of the region, 'Mythical University sample page content', is conveyed",convey name 'Mythical University sample page content',aria-label +nameOverview,1,"Name of the link, 'Overview', is conveyed",convey name 'Overview',link +numberListItems3,1,"Number of list items, '3', is conveyed","convey number of list items, '3'",list +numberListItems4,1,"Number of list items, '4', is conveyed","convey number of list items, 4",list +roleButton,1,Role 'button' is conveyed,convey role 'button',button +roleLink,1,Role 'link' is conveyed,convey role 'link',link +roleList,1,Role 'list' is conveyed,convey role 'list',list +roleNavigationLandmark,1,Role 'navigation landmark' is conveyed,convey role 'navigation landmark',nav +roleRegion,1,Role 'Region' is conveyed,convey role 'Region',region +stateChangeToCollapsed,1,"Change in state, to 'collapsed', is conveyed","convey change in state, to 'collapsed'",aria-expanded +stateChangeToExpanded,1,"Change in state, to 'expanded', is conveyed","convey change in state, to 'expanded'",aria-expanded +stateCollapsed,1,State 'collapsed' is conveyed,convey state 'collapsed',aria-expanded +stateCurrentPage,1,State 'current page' is conveyed,convey state 'current page',aria-current +stateExpanded,1,State 'expanded' is conveyed,convey state 'expanded',aria-expanded diff --git a/tests/disclosure-navigation/data/commands.csv b/tests/disclosure-navigation/data/commands.csv deleted file mode 100644 index 2c38d02ec..000000000 --- a/tests/disclosure-navigation/data/commands.csv +++ /dev/null @@ -1,108 +0,0 @@ -testId,task,mode,at,commandA,commandB,commandC,commandD,commandE,commandF,commandG -1,Navigate forwards to a collapsed disclosure button,READING,JAWS,B,F,I,TAB,"DOWN,DOWN,DOWN","R,DOWN,DOWN","L,DOWN" -1,Navigate forwards to a collapsed disclosure button,READING,NVDA,B,F,I,TAB,DOWN,D,L -2,Navigate forwards to a collapsed disclosure button,INTERACTION,JAWS,TAB,,,,,, -2,Navigate forwards to a collapsed disclosure button,INTERACTION,NVDA,TAB,,,,,, -3,Navigate forwards to a collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",CTRL_OPT_CMD_J,TAB,,,, -4,Navigate backwards to a collapsed disclosure button,READING,JAWS,SHIFT_B,SHIFT_F,SHIFT_I,SHIFT_TAB,"UP,UP,UP",, -4,Navigate backwards to a collapsed disclosure button,READING,NVDA,SHIFT_B,SHIFT_F,SHIFT_I,SHIFT_TAB,UP,, -5,Navigate backwards to a collapsed disclosure button,INTERACTION,JAWS,SHIFT_TAB,,,,,, -5,Navigate backwards to a collapsed disclosure button,INTERACTION,NVDA,SHIFT_TAB,,,,,, -6,Navigate backwards to a collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_LEFT,CTRL_OPT_LEFT,CTRL_OPT_LEFT",SHIFT_TAB,SHIFT_CTRL_OPT_CMD_J,,,, -7,Navigate forwards to an expanded disclosure button,READING,JAWS,B,F,TAB,"DOWN,DOWN,DOWN","R,DOWN,DOWN","L,DOWN",I -7,Navigate forwards to an expanded disclosure button,READING,NVDA,B,F,TAB,DOWN,D,L,I -8,Navigate forwards to an expanded disclosure button,INTERACTION,JAWS,TAB,,,,,, -8,Navigate forwards to an expanded disclosure button,INTERACTION,NVDA,TAB,,,,,, -9,Navigate forwards to an expanded disclosure button,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",CTRL_OPT_CMD_J,TAB,,,, -10,Navigate backwards to an expanded disclosure button,READING,JAWS,SHIFT_B,SHIFT_F,SHIFT_I,SHIFT_TAB,"UP,UP,UP",, -10,Navigate backwards to an expanded disclosure button,READING,NVDA,SHIFT_B,SHIFT_F,SHIFT_TAB,UP,,, -11,Navigate backwards to an expanded disclosure button,INTERACTION,JAWS,SHIFT_TAB,,,,,, -11,Navigate backwards to an expanded disclosure button,INTERACTION,NVDA,SHIFT_TAB,,,,,, -12,Navigate backwards to an expanded disclosure button,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_LEFT,CTRL_OPT_LEFT,CTRL_OPT_LEFT",SHIFT_TAB,SHIFT_CTRL_OPT_CMD_J,,,, -13,Navigate to the next collapsed disclosure button,READING,JAWS,B,F,I,TAB,DOWN,, -13,Navigate to the next collapsed disclosure button,READING,NVDA,B,F,I,TAB,DOWN,, -14,Navigate to the next collapsed disclosure button,INTERACTION,JAWS,TAB,DOWN,RIGHT,,,, -14,Navigate to the next collapsed disclosure button,INTERACTION,NVDA,TAB,DOWN,RIGHT,,,, -15,Navigate to the next collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_RIGHT,CTRL_OPT_CMD_J,TAB,DOWN,RIGHT,, -16,Navigate to the previous collapsed disclosure button,READING,JAWS,SHIFT_B,SHIFT_F,SHIFT_I,SHIFT_TAB,UP,, -16,Navigate to the previous collapsed disclosure button,READING,NVDA,SHIFT_B,SHIFT_F,SHIFT_I,SHIFT_TAB,UP,, -17,Navigate to the previous collapsed disclosure button,INTERACTION,JAWS,SHIFT_TAB,UP,LEFT,,,, -17,Navigate to the previous collapsed disclosure button,INTERACTION,NVDA,SHIFT_TAB,UP,LEFT,,,, -18,Navigate to the previous collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_LEFT,SHIFT_CTRL_OPT_CMD_J,SHIFT_TAB,UP,LEFT,, -19,Navigate to the next expanded disclosure button,READING,JAWS,B,F,I,TAB,DOWN,, -19,Navigate to the next expanded disclosure button,READING,NVDA,B,F,I,TAB,DOWN,, -20,Navigate to the next expanded disclosure button,INTERACTION,JAWS,TAB,DOWN,RIGHT,,,, -20,Navigate to the next expanded disclosure button,INTERACTION,NVDA,TAB,DOWN,RIGHT,,,, -21,Navigate to the next expanded disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_RIGHT,CTRL_OPT_CMD_J,TAB,DOWN,RIGHT,, -22,Navigate to the previous expanded disclosure button,READING,JAWS,SHIFT_B,SHIFT_F,SHIFT_I,SHIFT_TAB,UP,, -22,Navigate to the previous expanded disclosure button,READING,NVDA,SHIFT_B,SHIFT_F,SHIFT_I,SHIFT_TAB,UP,, -23,Navigate to the previous expanded disclosure button,INTERACTION,JAWS,SHIFT_TAB,UP,LEFT,,,, -23,Navigate to the previous expanded disclosure button,INTERACTION,NVDA,SHIFT_TAB,UP,LEFT,,,, -24,Navigate to the previous expanded disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_LEFT,SHIFT_CTRL_OPT_CMD_J,SHIFT_TAB,UP,LEFT,, -25,Navigate to the first collapsed disclosure button,INTERACTION,JAWS,HOME,,,,,, -25,Navigate to the first collapsed disclosure button,INTERACTION,NVDA,HOME,,,,,, -26,Navigate to the first collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,HOME,,,,,, -27,Navigate to the last collapsed disclosure button,INTERACTION,JAWS,END,,,,,, -27,Navigate to the last collapsed disclosure button,INTERACTION,NVDA,END,,,,,, -28,Navigate to the last collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,END,,,,,, -29,Navigate to the first expanded disclosure button,INTERACTION,JAWS,HOME,,,,,, -29,Navigate to the first expanded disclosure button,INTERACTION,NVDA,HOME,,,,,, -30,Navigate to the first expanded disclosure button,INTERACTION,VOICEOVER_MACOS,HOME,,,,,, -31,Navigate to the last expanded disclosure button,INTERACTION,JAWS,END,,,,,, -31,Navigate to the last expanded disclosure button,INTERACTION,NVDA,END,,,,,, -32,Navigate to the last expanded disclosure button,INTERACTION,VOICEOVER_MACOS,END,,,,,, -33,Read information about a collapsed disclosure button,READING,JAWS,INS_TAB,INS_UP,,,,, -33,Read information about a collapsed disclosure button,READING,NVDA,INS_TAB,INS_UP,,,,, -34,Read information about a collapsed disclosure button,INTERACTION,JAWS,INS_TAB,INS_UP,,,,, -34,Read information about a collapsed disclosure button,INTERACTION,NVDA,INS_TAB,INS_UP,,,,, -35,Read information about a collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_F3,CTRL_OPT_F4,,,,, -36,Read information about an expanded disclosure button,READING,JAWS,INS_TAB,INS_UP,,,,, -36,Read information about an expanded disclosure button,READING,NVDA,INS_TAB,INS_UP,,,,, -37,Read information about an expanded disclosure button,INTERACTION,JAWS,INS_TAB,INS_UP,,,,, -37,Read information about an expanded disclosure button,INTERACTION,NVDA,INS_TAB,INS_UP,,,,, -38,Read information about an expanded disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_F3,CTRL_OPT_F4,,,,, -39,Operate a collapsed disclosure button,READING,JAWS,SPACE,ENTER,,,,, -39,Operate a collapsed disclosure button,READING,NVDA,SPACE,ENTER,,,,, -40,Operate a collapsed disclosure button,INTERACTION,JAWS,SPACE,ENTER,,,,, -40,Operate a collapsed disclosure button,INTERACTION,NVDA,SPACE,ENTER,,,,, -41,Operate a collapsed disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_SPACE,SPACE,ENTER,,,, -42,Operate an expanded disclosure button,READING,JAWS,SPACE,ENTER,,,,, -42,Operate an expanded disclosure button,READING,NVDA,SPACE,ENTER,,,,, -43,Operate an expanded disclosure button,INTERACTION,JAWS,SPACE,ENTER,,,,, -43,Operate an expanded disclosure button,INTERACTION,NVDA,SPACE,ENTER,,,,, -44,Operate an expanded disclosure button,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_SPACE,SPACE,ENTER,,,, -45,Navigate from an expanded disclosure button to a link in the associated dropdown,READING,JAWS,U,TAB,"DOWN,DOWN",,,, -45,Navigate from an expanded disclosure button to a link in the associated dropdown,READING,NVDA,U,K,TAB,DOWN,,, -46,Navigate from an expanded disclosure button to a link in the associated dropdown,INTERACTION,JAWS,TAB,DOWN,,,,, -46,Navigate from an expanded disclosure button to a link in the associated dropdown,INTERACTION,NVDA,TAB,DOWN,,,,, -47,Navigate from an expanded disclosure button to a link in the associated dropdown,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",TAB,CTRL_OPT_CMD_L,DOWN,,, -48,Navigate from an expanded disclosure button to the current page link,READING,JAWS,U,TAB,"DOWN,DOWN",,,, -48,Navigate from an expanded disclosure button to the current page link,READING,NVDA,U,K,TAB,DOWN,,, -49,Navigate from an expanded disclosure button to the current page link,INTERACTION,JAWS,TAB,DOWN,,,,, -49,Navigate from an expanded disclosure button to the current page link,INTERACTION,NVDA,TAB,DOWN,,,,, -50,Navigate from an expanded disclosure button to the current page link,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",TAB,CTRL_OPT_CMD_L,DOWN,,, -51,Navigate to an expanded disclosure button from a link in the associated dropdown,READING,JAWS,SHIFT_B,SHIFT_F,SHIFT_TAB,"UP,UP",,, -51,Navigate to an expanded disclosure button from a link in the associated dropdown,READING,NVDA,SHIFT_B,SHIFT_F,SHIFT_TAB,UP,,, -52,Navigate to an expanded disclosure button from a link in the associated dropdown,INTERACTION,JAWS,SHIFT_TAB,,,,,, -52,Navigate to an expanded disclosure button from a link in the associated dropdown,INTERACTION,NVDA,SHIFT_TAB,,,,,, -53,Navigate to an expanded disclosure button from a link in the associated dropdown,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_LEFT,CTRL_OPT_LEFT",SHIFT_TAB,SHIFT_CTRL_OPT_CMD_J,,,, -54,Navigate from a collapsed disclosure button to a link in a dropdown,READING,JAWS,SHIFT_U,SHIFT_TAB,"UP,UP",,,, -54,Navigate from a collapsed disclosure button to a link in a dropdown,READING,NVDA,SHIFT_U,SHIFT_K,SHIFT_TAB,UP,,, -55,Navigate from a collapsed disclosure button to a link in a dropdown,INTERACTION,JAWS,SHIFT_TAB,,,,,, -55,Navigate from a collapsed disclosure button to a link in a dropdown,INTERACTION,NVDA,SHIFT_TAB,,,,,, -56,Navigate from a collapsed disclosure button to a link in a dropdown,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_LEFT,CTRL_OPT_LEFT",SHIFT_TAB,SHIFT_CTRL_OPT_CMD_L,,,, -57,Navigate to a collapsed disclosure button from the last link in a dropdown,READING,JAWS,B,F,TAB,"DOWN,DOWN",,, -57,Navigate to a collapsed disclosure button from the last link in a dropdown,READING,NVDA,B,F,TAB,DOWN,,, -58,Navigate to a collapsed disclosure button from the last link in a dropdown,INTERACTION,JAWS,TAB,,,,,, -58,Navigate to a collapsed disclosure button from the last link in a dropdown,INTERACTION,NVDA,TAB,,,,,, -59,Navigate to a collapsed disclosure button from the last link in a dropdown,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",CTRL_OPT_CMD_J,TAB,,,, -60,Dismiss a dropdown,READING,JAWS,ESC,,,,,, -60,Dismiss a dropdown,READING,NVDA,ESC,,,,,, -61,Dismiss a dropdown,INTERACTION,JAWS,ESC,,,,,, -61,Dismiss a dropdown,INTERACTION,NVDA,ESC,,,,,, -62,Dismiss a dropdown,INTERACTION,VOICEOVER_MACOS,ESC,,,,,, -63,Activate a link in a dropdown,READING,JAWS,SPACE,ENTER,,,,, -63,Activate a link in a dropdown,READING,NVDA,SPACE,ENTER,,,,, -64,Activate a link in a dropdown,INTERACTION,JAWS,ENTER,,,,,, -64,Activate a link in a dropdown,INTERACTION,NVDA,ENTER,,,,,, -65,Activate a link in a dropdown,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_SPACE,ENTER,,,,, diff --git a/tests/disclosure-navigation/data/jaws-commands.csv b/tests/disclosure-navigation/data/jaws-commands.csv new file mode 100644 index 000000000..9eb5f9684 --- /dev/null +++ b/tests/disclosure-navigation/data/jaws-commands.csv @@ -0,0 +1,66 @@ +testId,command,settings,assertionExceptions,presentationNumber +navForwardsToCollapsedDisclosureButton,b,virtualCursor,,1 +navForwardsToCollapsedDisclosureButton,f,virtualCursor,,1.1 +navForwardsToCollapsedDisclosureButton,tab,virtualCursor,,1.3 +navForwardsToCollapsedDisclosureButton,down down down,virtualCursor,,1.4 +navForwardsToCollapsedDisclosureButton,tab,pcCursor,,2 +navBackToCollapsedDisclosureButton,shift+b,virtualCursor,,4 +navBackToCollapsedDisclosureButton,shift+f,virtualCursor,,4.1 +navBackToCollapsedDisclosureButton,shift+tab,virtualCursor,,4.3 +navBackToCollapsedDisclosureButton,up up up,virtualCursor,,4.4 +navBackToCollapsedDisclosureButton,shift+tab,pcCursor,,5 +navForwardsToExpandedDisclosureButton,b,virtualCursor,,7 +navForwardsToExpandedDisclosureButton,f,virtualCursor,,7.1 +navForwardsToExpandedDisclosureButton,tab,virtualCursor,,7.2 +navForwardsToExpandedDisclosureButton,down down down,virtualCursor,,7.3 +navForwardsToExpandedDisclosureButton,tab,pcCursor,,8 +navBackToExpandedDisclosureButton,shift+b,virtualCursor,,10 +navBackToExpandedDisclosureButton,shift+f,virtualCursor,,10.1 +navBackToExpandedDisclosureButton,shift+tab,virtualCursor,,10.3 +navBackToExpandedDisclosureButton,up up up,virtualCursor,,10.4 +navBackToExpandedDisclosureButton,shift+tab,pcCursor,,11 +reqInfoAboutCollapsedDisclosureButton,ins+tab,virtualCursor,,33 +reqInfoAboutCollapsedDisclosureButton,ins+up,virtualCursor,,33.1 +reqInfoAboutCollapsedDisclosureButton,ins+tab,pcCursor,,34 +reqInfoAboutCollapsedDisclosureButton,ins+up,pcCursor,,34.1 +reqInfoAboutExpandedDisclosureButton,ins+tab,virtualCursor,,36 +reqInfoAboutExpandedDisclosureButton,ins+up,virtualCursor,,36.1 +reqInfoAboutExpandedDisclosureButton,ins+tab,pcCursor,,37 +reqInfoAboutExpandedDisclosureButton,ins+up,pcCursor,,37.1 +operateCollapsedDisclosureButton,space,virtualCursor,,39 +operateCollapsedDisclosureButton,enter,virtualCursor,,39.1 +operateCollapsedDisclosureButton,space,pcCursor,,40 +operateCollapsedDisclosureButton,enter,pcCursor,,40.1 +operateExpandedDisclosureButton,space,virtualCursor,,42 +operateExpandedDisclosureButton,enter,virtualCursor,,42.1 +operateExpandedDisclosureButton,space,pcCursor,,43 +operateExpandedDisclosureButton,enter,pcCursor,,43.1 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,u,virtualCursor,,45 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,tab,virtualCursor,,45.1 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,down down,virtualCursor,,45.2 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,tab,pcCursor,,46 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,down,pcCursor,,46.1 +navFromExpandedDisclosureButtonToCurrentPageLink,u,virtualCursor,,48 +navFromExpandedDisclosureButtonToCurrentPageLink,tab,virtualCursor,,48.1 +navFromExpandedDisclosureButtonToCurrentPageLink,down down,virtualCursor,,48.2 +navFromExpandedDisclosureButtonToCurrentPageLink,tab,pcCursor,,49 +navFromExpandedDisclosureButtonToCurrentPageLink,down,pcCursor,,49.1 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+b,virtualCursor,,51 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+f,virtualCursor,,51.1 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+tab,virtualCursor,,51.2 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,up up,virtualCursor,,51.3 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+tab,pcCursor,,52 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+u,virtualCursor,,54 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+tab,virtualCursor,,54.1 +navFromCollapsedDisclosureButtonToLinkDropdown,up up,virtualCursor,,54.2 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+tab,pcCursor,,55 +navToCollapsedDisclosureButtonFromLastLinkDropdown,b,virtualCursor,,57 +navToCollapsedDisclosureButtonFromLastLinkDropdown,f,virtualCursor,,57.1 +navToCollapsedDisclosureButtonFromLastLinkDropdown,tab,virtualCursor,,57.2 +navToCollapsedDisclosureButtonFromLastLinkDropdown,down down,virtualCursor,,57.3 +navToCollapsedDisclosureButtonFromLastLinkDropdown,tab,pcCursor,,58 +dismissDropdown,esc,virtualCursor,,60 +dismissDropdown,esc,pcCursor,,61 +activateLinkDropdown,space,virtualCursor,,63 +activateLinkDropdown,enter,virtualCursor,,63.1 +activateLinkDropdown,enter,pcCursor,,64 diff --git a/tests/disclosure-navigation/data/nvda-commands.csv b/tests/disclosure-navigation/data/nvda-commands.csv new file mode 100644 index 000000000..b994f60e5 --- /dev/null +++ b/tests/disclosure-navigation/data/nvda-commands.csv @@ -0,0 +1,69 @@ +testId,command,settings,assertionExceptions,presentationNumber +navForwardsToCollapsedDisclosureButton,b,browseMode,,1 +navForwardsToCollapsedDisclosureButton,f,browseMode,,1.1 +navForwardsToCollapsedDisclosureButton,tab,browseMode,,1.3 +navForwardsToCollapsedDisclosureButton,down,browseMode,,1.4 +navForwardsToCollapsedDisclosureButton,tab,focusMode,,2 +navBackToCollapsedDisclosureButton,shift+b,browseMode,,4 +navBackToCollapsedDisclosureButton,shift+f,browseMode,,4.1 +navBackToCollapsedDisclosureButton,shift+tab,browseMode,,4.3 +navBackToCollapsedDisclosureButton,up,browseMode,,4.4 +navBackToCollapsedDisclosureButton,shift+tab,focusMode,,5 +navForwardsToExpandedDisclosureButton,b,browseMode,,7 +navForwardsToExpandedDisclosureButton,f,browseMode,,7.1 +navForwardsToExpandedDisclosureButton,tab,browseMode,,7.2 +navForwardsToExpandedDisclosureButton,down,browseMode,,7.3 +navForwardsToExpandedDisclosureButton,tab,focusMode,,8 +navBackToExpandedDisclosureButton,shift+b,browseMode,,10 +navBackToExpandedDisclosureButton,shift+f,browseMode,,10.1 +navBackToExpandedDisclosureButton,shift+tab,browseMode,,10.2 +navBackToExpandedDisclosureButton,up,browseMode,,10.3 +navBackToExpandedDisclosureButton,shift+tab,focusMode,,11 +reqInfoAboutCollapsedDisclosureButton,ins+tab,browseMode,,33 +reqInfoAboutCollapsedDisclosureButton,ins+up,browseMode,,33.1 +reqInfoAboutCollapsedDisclosureButton,ins+tab,focusMode,,34 +reqInfoAboutCollapsedDisclosureButton,ins+up,focusMode,,34.1 +reqInfoAboutExpandedDisclosureButton,ins+tab,browseMode,,36 +reqInfoAboutExpandedDisclosureButton,ins+up,browseMode,,36.1 +reqInfoAboutExpandedDisclosureButton,ins+tab,focusMode,,37 +reqInfoAboutExpandedDisclosureButton,ins+up,focusMode,,37.1 +operateCollapsedDisclosureButton,space,browseMode,,39 +operateCollapsedDisclosureButton,enter,browseMode,,39.1 +operateCollapsedDisclosureButton,space,focusMode,,40 +operateCollapsedDisclosureButton,enter,focusMode,,40.1 +operateExpandedDisclosureButton,space,browseMode,,42 +operateExpandedDisclosureButton,enter,browseMode,,42.1 +operateExpandedDisclosureButton,space,focusMode,,43 +operateExpandedDisclosureButton,enter,focusMode,,43.1 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,u,browseMode,,45 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,k,browseMode,,45.1 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,tab,browseMode,,45.2 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,down,browseMode,,45.3 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,tab,focusMode,,46 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,down,focusMode,,46.1 +navFromExpandedDisclosureButtonToCurrentPageLink,u,browseMode,,48 +navFromExpandedDisclosureButtonToCurrentPageLink,k,browseMode,,48.1 +navFromExpandedDisclosureButtonToCurrentPageLink,tab,browseMode,,48.2 +navFromExpandedDisclosureButtonToCurrentPageLink,down,browseMode,,48.3 +navFromExpandedDisclosureButtonToCurrentPageLink,tab,focusMode,,49 +navFromExpandedDisclosureButtonToCurrentPageLink,down,focusMode,,49.1 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+b,browseMode,,51 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+f,browseMode,,51.1 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+tab,browseMode,,51.2 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,up,browseMode,,51.3 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+tab,focusMode,,52 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+u,browseMode,,54 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+k,browseMode,,54.1 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+tab,browseMode,,54.2 +navFromCollapsedDisclosureButtonToLinkDropdown,up,browseMode,,54.3 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+tab,focusMode,,55 +navToCollapsedDisclosureButtonFromLastLinkDropdown,b,browseMode,,57 +navToCollapsedDisclosureButtonFromLastLinkDropdown,f,browseMode,,57.1 +navToCollapsedDisclosureButtonFromLastLinkDropdown,tab,browseMode,,57.2 +navToCollapsedDisclosureButtonFromLastLinkDropdown,down,browseMode,,57.3 +navToCollapsedDisclosureButtonFromLastLinkDropdown,tab,focusMode,,58 +dismissDropdown,esc,browseMode,,60 +dismissDropdown,esc,focusMode,,61 +activateLinkDropdown,space,browseMode,,63 +activateLinkDropdown,enter,browseMode,,63.1 +activateLinkDropdown,enter,focusMode,,64 diff --git a/tests/disclosure-navigation/data/references.csv b/tests/disclosure-navigation/data/references.csv index 7647ff9e7..1f5ea02d7 100644 --- a/tests/disclosure-navigation/data/references.csv +++ b/tests/disclosure-navigation/data/references.csv @@ -1,11 +1,14 @@ -refId,value -author,James Scholes -authorEmail,james@pac.bz -title,Disclosure Navigation Menu Example -reference,reference/2022-9-9_13844/disclosure-navigation.html -example,https://w3c.github.io/aria-practices/examples/disclosure/disclosure-navigation.html -button,https://w3c.github.io/aria/#button -region,https://w3c.github.io/aria/#region -aria-label,https://w3c.github.io/aria/#aria-label -aria-current,https://w3c.github.io/aria/#aria-current -aria-expanded,https://w3c.github.io/aria/#aria-expanded +refId,type,value,linkText +author,metadata,James Scholes, +authorEmail,metadata,james@pac.bz, +title,metadata,Disclosure Navigation Menu Example, +reference,metadata,reference/2022-9-9_13844/disclosure-navigation.html,Test Case Page for Disclosure Navigation Menu Example +example,metadata,https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/,APG Example: Disclosure Navigation Menu +button,htmlAam,button,button +list,htmlAam,list,list +link,htmlAam,a,anchor +nav,htmlAam,nav,nav +region,aria,region,region +aria-label,aria,aria-label,aria-label +aria-current,aria,aria-current,aria-current +aria-expanded,aria,aria-expanded,aria-expanded diff --git a/tests/disclosure-navigation/data/scripts.csv b/tests/disclosure-navigation/data/scripts.csv new file mode 100644 index 000000000..a1b735d12 --- /dev/null +++ b/tests/disclosure-navigation/data/scripts.csv @@ -0,0 +1,14 @@ +setupScript,setupScriptDescription +expandFirstDisclosureAndMoveFocusToCampusToursLink,expands the first disclosure and sets focus on the 'Campus Tours' link +expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link +expandFirstDisclosureHideDropdownAndMoveFocusToSecondDisclosure,"sets the state of the first disclosure button to expanded, hides the associated dropdown and sets focus on the second disclosure" +expandThirdDisclosureHideDropdownAndMoveFocusAfterDisclosure,"sets the state of the third disclosure button to expanded, hides the associated dropdown and sets focus on the link after the disclosure" +moveFocusAfterThirdDisclosure,sets focus on a link after the disclosure button +moveFocusBeforeAndExpandFirstDisclosure,"sets focus on a link before the first disclosure button, and sets the state of the first button to 'expanded'" +moveFocusBeforeFirstDisclosure,sets focus on a link before the disclosure button +moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded" +moveFocusToAndExpandFirstDisclosureAndSetCurrentPage,"sets focus on the first disclosure button, sets its state to expanded, and marks the first link in the associated dropdown as being the current page" +moveFocusToFirstDisclosure,sets focus on the first disclosure button +moveFocusToSecondDisclosure,sets focus on the second disclosure button +moveFocusToSecondDisclosureAndExpandFirstDisclosure,expands the first disclosure button and sets focus on the second disclosure button +moveFocusToSecondDisclosureAndExpandThirdDisclosure,sets the state of the third disclosure button to expanded and sets focus on the second disclosure button diff --git a/tests/disclosure-navigation/data/tests.csv b/tests/disclosure-navigation/data/tests.csv index e7229fe72..899731246 100644 --- a/tests/disclosure-navigation/data/tests.csv +++ b/tests/disclosure-navigation/data/tests.csv @@ -1,66 +1,16 @@ -testId,title,appliesTo,mode,task,setupScript,setupScriptDescription,refs,instructions,assertion1,assertion2,assertion3,assertion4,assertion5,assertion6,assertion7 -1,Navigate forwards to a collapsed disclosure button in reading mode,"JAWS,NVDA",READING,Navigate forwards to a collapsed disclosure button,moveFocusBeforeFirstDisclosure,sets focus on a link before the disclosure button,aria-expanded,"With the reading cursor on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed -2,Navigate forwards to a collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate forwards to a collapsed disclosure button,moveFocusBeforeFirstDisclosure,sets focus on a link before the disclosure button,aria-expanded,"With focus on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed -3,Navigate forwards to a collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate forwards to a collapsed disclosure button,moveFocusBeforeFirstDisclosure,sets focus on a link before the disclosure button,aria-expanded,"With focus on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed -4,Navigate backwards to a collapsed disclosure button in reading mode,"JAWS,NVDA",READING,Navigate backwards to a collapsed disclosure button,moveFocusAfterThirdDisclosure,sets focus on a link after the disclosure button,aria-expanded,"With the reading cursor on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed -5,Navigate backwards to a collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate backwards to a collapsed disclosure button,moveFocusAfterThirdDisclosure,sets focus on a link after the disclosure button,aria-expanded,"With focus on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed -6,Navigate backwards to a collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate backwards to a collapsed disclosure button,moveFocusAfterThirdDisclosure,sets focus on a link after the disclosure button,aria-expanded,"With focus on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed -7,Navigate forwards to an expanded disclosure button in reading mode,"JAWS,NVDA",READING,Navigate forwards to an expanded disclosure button,moveFocusBeforeAndExpandFirstDisclosure,"sets focus on a link before the first disclosure button, and sets the state of the first button to 'expanded'",aria-expanded,"With the reading cursor on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed -8,Navigate forwards to an expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate forwards to an expanded disclosure button,moveFocusBeforeAndExpandFirstDisclosure,"sets focus on a link before the first disclosure button, and sets the state of the first button to 'expanded'",aria-expanded,"With focus on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed -9,Navigate forwards to an expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate forwards to an expanded disclosure button,moveFocusBeforeAndExpandFirstDisclosure,"sets focus on a link before the first disclosure button, and sets the state of the first button to 'expanded'",aria-expanded,"With focus on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed -10,Navigate backwards to an expanded disclosure button in reading mode,"JAWS,NVDA",READING,Navigate backwards to an expanded disclosure button,expandThirdDisclosureHideDropdownAndMoveFocusAfterDisclosure,"sets the state of the third disclosure button to expanded, hides the associated dropdown and sets focus on the link after the disclosure",aria-expanded,"With the reading cursor on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed -11,Navigate backwards to an expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate backwards to an expanded disclosure button,expandThirdDisclosureHideDropdownAndMoveFocusAfterDisclosure,"sets the state of the third disclosure button to expanded, hides the associated dropdown and sets focus on the link after the disclosure",aria-expanded,"With focus on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed -12,Navigate backwards to an expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate backwards to an expanded disclosure button,expandThirdDisclosureHideDropdownAndMoveFocusAfterDisclosure,"sets the state of the third disclosure button to expanded, hides the associated dropdown and sets focus on the link after the disclosure",aria-expanded,"With focus on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",Role 'navigation landmark' is conveyed,Name 'Mythical University' is conveyed,Role list is conveyed,"Number of list items, '3', is conveyed",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed -13,Navigate to the next collapsed disclosure button in reading mode,"JAWS,NVDA",READING,Navigate to the next collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With the reading cursor on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed,,,, -14,Navigate to the next collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the next collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed,,,, -15,Navigate to the next collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the next collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed,,,, -16,Navigate to the previous collapsed disclosure button in reading mode,"JAWS,NVDA",READING,Navigate to the previous collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With the reading cursor on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -17,Navigate to the previous collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the previous collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -18,Navigate to the previous collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the previous collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -19,Navigate to the next expanded disclosure button in reading mode,"JAWS,NVDA",READING,Navigate to the next expanded disclosure button,moveFocusToSecondDisclosureAndExpandThirdDisclosure,sets the state of the third disclosure button to expanded and sets focus on the second disclosure button,aria-expanded,"With the reading cursor on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed,,,, -20,Navigate to the next expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the next expanded disclosure button,moveFocusToSecondDisclosureAndExpandThirdDisclosure,sets the state of the third disclosure button to expanded and sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed,,,, -21,Navigate to the next expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the next expanded disclosure button,moveFocusToSecondDisclosureAndExpandThirdDisclosure,sets the state of the third disclosure button to expanded and sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed,,,, -22,Navigate to the previous expanded disclosure button in reading mode,"JAWS,NVDA",READING,Navigate to the previous expanded disclosure button,expandFirstDisclosureHideDropdownAndMoveFocusToSecondDisclosure,"sets the state of the first disclosure button to expanded, hides the associated dropdown and sets focus on the second disclosure",aria-expanded,"With the reading cursor on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -23,Navigate to the previous expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the previous expanded disclosure button,expandFirstDisclosureHideDropdownAndMoveFocusToSecondDisclosure,"sets the state of the first disclosure button to expanded, hides the associated dropdown and sets focus on the second disclosure",aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -24,Navigate to the previous expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the previous expanded disclosure button,expandFirstDisclosureHideDropdownAndMoveFocusToSecondDisclosure,"sets the state of the first disclosure button to expanded, hides the associated dropdown and sets focus on the second disclosure",aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -25,Navigate to the first collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the first collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -26,Navigate to the first collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the first collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -27,Navigate to the last collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the last collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed,,,, -28,Navigate to the last collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the last collapsed disclosure button,moveFocusToSecondDisclosure,sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'collapsed' is conveyed,,,, -29,Navigate to the first expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the first expanded disclosure button,moveFocusToSecondDisclosureAndExpandFirstDisclosure,expands the first disclosure button and sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -30,Navigate to the first expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the first expanded disclosure button,moveFocusToSecondDisclosureAndExpandFirstDisclosure,expands the first disclosure button and sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'About' disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -31,Navigate to the last expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to the last expanded disclosure button,moveFocusToSecondDisclosureAndExpandThirdDisclosure,sets the state of the third disclosure button to expanded and sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed,,,, -32,Navigate to the last expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Navigate to the last expanded disclosure button,moveFocusToSecondDisclosureAndExpandThirdDisclosure,sets the state of the third disclosure button to expanded and sets focus on the second disclosure button,aria-expanded,"With focus on the 'Admissions' disclosure button, navigate to the 'Academics' disclosure button.",Role 'button' is conveyed,Name 'Academics' is conveyed,State 'expanded' is conveyed,,,, -33,Read information about a collapsed disclosure button in reading mode,"JAWS,NVDA",READING,Read information about a collapsed disclosure button,moveFocusToFirstDisclosure,sets focus on the first disclosure button,aria-expanded,"With the reading cursor on the 'About' disclosure button, read information about the disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -34,Read information about a collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Read information about a collapsed disclosure button,moveFocusToFirstDisclosure,sets focus on the first disclosure button,aria-expanded,"With focus on the 'About' disclosure button, read information about the disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -35,Read information about a collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Read information about a collapsed disclosure button,moveFocusToFirstDisclosure,sets focus on the first disclosure button,aria-expanded,"With focus on the 'About' disclosure button, read information about the disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -36,Read information about an expanded disclosure button in reading mode,"JAWS,NVDA",READING,Read information about an expanded disclosure button,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",aria-expanded,"With the reading cursor on the 'About' disclosure button, read information about the disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -37,Read information about an expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Read information about an expanded disclosure button,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",aria-expanded,"With focus on the 'About' disclosure button, read information about the disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -38,Read information about an expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Read information about an expanded disclosure button,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",aria-expanded,"With focus on the 'About' disclosure button, read information about the disclosure button.",Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,,,, -39,Operate a collapsed disclosure button in reading mode,"JAWS,NVDA",READING,Operate a collapsed disclosure button,moveFocusToFirstDisclosure,sets focus on the first disclosure button,aria-expanded,"With the reading cursor on the 'About' disclosure button, change its state to 'expanded'.","Change in state, to 'expanded', is conveyed",,,,,, -40,Operate a collapsed disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Operate a collapsed disclosure button,moveFocusToFirstDisclosure,sets focus on the first disclosure button,aria-expanded,"With focus on the 'About' disclosure button, change its state to 'expanded'.","Change in state, to 'expanded', is conveyed",,,,,, -41,Operate a collapsed disclosure button,VOICEOVER_MACOS,INTERACTION,Operate a collapsed disclosure button,moveFocusToFirstDisclosure,sets focus on the first disclosure button,aria-expanded,"With focus on the 'About' disclosure button, change its state to 'expanded'.","Change in state, to 'expanded', is conveyed",,,,,, -42,Operate an expanded disclosure button in reading mode,"JAWS,NVDA",READING,Operate an expanded disclosure button,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",aria-expanded,"With the reading cursor on the 'About' disclosure button, change its state to 'collapsed'.","Change in state, to 'collapsed', is conveyed",,,,,, -43,Operate an expanded disclosure button in interaction mode,"JAWS,NVDA",INTERACTION,Operate an expanded disclosure button,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",aria-expanded,"With focus on the 'About' disclosure button, change its state to 'collapsed'.","Change in state, to 'collapsed', is conveyed",,,,,, -44,Operate an expanded disclosure button,VOICEOVER_MACOS,INTERACTION,Operate an expanded disclosure button,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",aria-expanded,"With focus on the 'About' disclosure button, change its state to 'collapsed'.","Change in state, to 'collapsed', is conveyed",,,,,, -45,Navigate from an expanded disclosure button to a link in the associated dropdown in reading mode,"JAWS,NVDA",READING,Navigate from an expanded disclosure button to a link in the associated dropdown,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",,"With the reading cursor on the 'About' disclosure button, navigate to the 'Overview' link.",Role 'list' is conveyed,"Number of list items, 4, is conveyed",Role 'link' is conveyed,Name 'Overview' is conveyed,,, -46,Navigate from an expanded disclosure button to a link in the associated dropdown in interaction mode,"JAWS,NVDA",INTERACTION,Navigate from an expanded disclosure button to a link in the associated dropdown,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",,"With focus on the 'About' disclosure button, navigate to the 'Overview' link.",Role 'list' is conveyed,"Number of list items, 4, is conveyed",Role 'link' is conveyed,Name 'Overview' is conveyed,,, -47,Navigate from an expanded disclosure button to a link in the associated dropdown,VOICEOVER_MACOS,INTERACTION,Navigate from an expanded disclosure button to a link in the associated dropdown,moveFocusToAndExpandFirstDisclosure,"sets focus on the first disclosure button, and sets its state to expanded",,"With focus on the 'About' disclosure button, navigate to the 'Overview' link.",Role 'list' is conveyed,"Number of list items, 4, is conveyed",Role 'link' is conveyed,Name 'Overview' is conveyed,,, -48,Navigate from an expanded disclosure button to the current page link in reading mode,"JAWS,NVDA",READING,Navigate from an expanded disclosure button to the current page link,moveFocusToAndExpandFirstDisclosureAndSetCurrentPage,"sets focus on the first disclosure button, sets its state to expanded, and marks the first link in the associated dropdown as being the current page",aria-current,"With the reading cursor on the 'About' disclosure button, navigate to the 'Overview' link.",Role 'list' is conveyed,"Number of list items, 4, is conveyed",Role 'link' is conveyed,Name 'Overview' is conveyed,State 'current page' is conveyed,, -49,Navigate from an expanded disclosure button to the current page link in interaction mode,"JAWS,NVDA",INTERACTION,Navigate from an expanded disclosure button to the current page link,moveFocusToAndExpandFirstDisclosureAndSetCurrentPage,"sets focus on the first disclosure button, sets its state to expanded, and marks the first link in the associated dropdown as being the current page",aria-current,"With focus on the 'About' disclosure button, navigate to the 'Overview' link.",Role 'list' is conveyed,"Number of list items, 4, is conveyed",Role 'link' is conveyed,Name 'Overview' is conveyed,State 'current page' is conveyed,, -50,Navigate from an expanded disclosure button to the current page link,VOICEOVER_MACOS,INTERACTION,Navigate from an expanded disclosure button to the current page link,moveFocusToAndExpandFirstDisclosureAndSetCurrentPage,"sets focus on the first disclosure button, sets its state to expanded, and marks the first link in the associated dropdown as being the current page",aria-current,"With focus on the 'About' disclosure button, navigate to the 'Overview' link.",Role 'list' is conveyed,"Number of list items, 4, is conveyed",Role 'link' is conveyed,Name 'Overview' is conveyed,State 'current page' is conveyed,, -51,Navigate to an expanded disclosure button from a link in the associated dropdown in reading mode,"JAWS,NVDA",READING,Navigate to an expanded disclosure button from a link in the associated dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,aria-expanded,"With the reading cursor on the 'Overview' link, navigate to the 'About' disclosure button.",Role 'list' is conveyed,List boundary is conveyed,Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,, -52,Navigate to an expanded disclosure button from a link in the associated dropdown in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to an expanded disclosure button from a link in the associated dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,aria-expanded,"With focus on the 'Overview' link, navigate to the 'About' disclosure button.",Role 'list' is conveyed,List boundary is conveyed,Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,, -53,Navigate to an expanded disclosure button from a link in the associated dropdown,VOICEOVER_MACOS,INTERACTION,Navigate to an expanded disclosure button from a link in the associated dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,aria-expanded,"With focus on the 'Overview' link, navigate to the 'About' disclosure button.",Role 'list' is conveyed,List boundary is conveyed,Role 'button' is conveyed,Name 'About' is conveyed,State 'expanded' is conveyed,, -54,Navigate from a collapsed disclosure button to a link in a dropdown in reading mode,"JAWS,NVDA",READING,Navigate from a collapsed disclosure button to a link in a dropdown,moveFocusToSecondDisclosureAndExpandFirstDisclosure,expands the first disclosure button and sets focus on the second disclosure button,,"With the reading cursor on the 'Admissions' disclosure button, navigate to the 'Campus Tours' link.",Role 'list' is conveyed,List boundary is conveyed,Role 'link' is conveyed,Name 'Campus Tours' is conveyed,,, -55,Navigate from a collapsed disclosure button to a link in a dropdown in interaction mode,"JAWS,NVDA",INTERACTION,Navigate from a collapsed disclosure button to a link in a dropdown,moveFocusToSecondDisclosureAndExpandFirstDisclosure,expands the first disclosure button and sets focus on the second disclosure button,,"With focus on the 'Admissions' disclosure button, navigate to the 'Campus Tours' link.",Role 'list' is conveyed,List boundary is conveyed,Role 'link' is conveyed,Name 'Campus Tours' is conveyed,,, -56,Navigate from a collapsed disclosure button to a link in a dropdown,VOICEOVER_MACOS,INTERACTION,Navigate from a collapsed disclosure button to a link in a dropdown,moveFocusToSecondDisclosureAndExpandFirstDisclosure,expands the first disclosure button and sets focus on the second disclosure button,,"With focus on the 'Admissions' disclosure button, navigate to the 'Campus Tours' link.",Role 'list' is conveyed,List boundary is conveyed,Role 'link' is conveyed,Name 'Campus Tours' is conveyed,,, -57,Navigate to a collapsed disclosure button from the last link in a dropdown in reading mode,"JAWS,NVDA",READING,Navigate to a collapsed disclosure button from the last link in a dropdown,expandFirstDisclosureAndMoveFocusToCampusToursLink,expands the first disclosure and sets focus on the 'Campus Tours' link,aria-expanded,"With the reading cursor on the 'Campus Tours' link, navigate to the 'Admissions' disclosure button.",Role 'button' is conveyed,Name 'Admissions' is conveyed,State 'collapsed' is conveyed,,,, -58,Navigate to a collapsed disclosure button from the last link in a dropdown in interaction mode,"JAWS,NVDA",INTERACTION,Navigate to a collapsed disclosure button from the last link in a dropdown,expandFirstDisclosureAndMoveFocusToCampusToursLink,expands the first disclosure and sets focus on the 'Campus Tours' link,aria-expanded,"With focus on the 'Campus Tours' link, navigate to the 'Admissions' disclosure button.",Role 'button' is conveyed,Name 'Admissions' is conveyed,State 'collapsed' is conveyed,,,, -59,Navigate to a collapsed disclosure button from the last link in a dropdown,VOICEOVER_MACOS,INTERACTION,Navigate to a collapsed disclosure button from the last link in a dropdown,expandFirstDisclosureAndMoveFocusToCampusToursLink,expands the first disclosure and sets focus on the 'Campus Tours' link,aria-expanded,"With focus on the 'Campus Tours' link, navigate to the 'Admissions' disclosure button.",Role 'button' is conveyed,Name 'Admissions' is conveyed,State 'collapsed' is conveyed,,,, -60,Dismiss a dropdown in reading mode,"JAWS,NVDA",READING,Dismiss a dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,aria-expanded,"With the reading cursor on the 'Overview' link, close the dropdown.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -61,Dismiss a dropdown in interaction mode,"JAWS,NVDA",INTERACTION,Dismiss a dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,aria-expanded,"With focus on the 'Overview' link, close the dropdown.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -62,Dismiss a dropdown,VOICEOVER_MACOS,INTERACTION,Dismiss a dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,aria-expanded,"With focus on the 'Overview' link, close the dropdown.",Role 'button' is conveyed,Name 'About' is conveyed,State 'collapsed' is conveyed,,,, -63,Activate a link in a dropdown in reading mode,"JAWS,NVDA",READING,Activate a link in a dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,region aria-label,"With the reading cursor on the 'Overview' link, activate the link.",Role 'Region' is conveyed,Name 'Mythical University sample page content' is conveyed,,,,, -64,Activate a link in a dropdown in interaction mode,"JAWS,NVDA",INTERACTION,Activate a link in a dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,region aria-label,"With focus on the 'Overview' link, activate the link.",Role 'Region' is conveyed,Name 'Mythical University sample page content' is conveyed,,,,, -65,Activate a link in a dropdown,VOICEOVER_MACOS,INTERACTION,Activate a link in a dropdown,expandFirstDisclosureAndMoveFocusToOverviewLink,expands the first disclosure and sets focus on the 'Overview' link,region aria-label,"With focus on the 'Overview' link, activate the link.",Role 'Region' is conveyed,Name 'Mythical University sample page content' is conveyed,,,,, +testId,title,presentationNumber,setupScript,instructions,assertions +navForwardsToCollapsedDisclosureButton,Navigate forwards to a collapsed disclosure button,3,moveFocusBeforeFirstDisclosure,"With focus on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",roleNavigationLandmark nameMythicalUniversity roleList numberListItems3 roleButton nameAbout stateCollapsed +navBackToCollapsedDisclosureButton,Navigate backwards to a collapsed disclosure button,6,moveFocusAfterThirdDisclosure,"With focus on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",roleNavigationLandmark nameMythicalUniversity roleList numberListItems3 roleButton nameAcademics stateCollapsed +navForwardsToExpandedDisclosureButton,Navigate forwards to an expanded disclosure button,9,moveFocusBeforeAndExpandFirstDisclosure,"With focus on the 'Navigate forwards from here' link, navigate to the 'About' disclosure button.",roleNavigationLandmark nameMythicalUniversity roleList numberListItems3 roleButton nameAbout stateExpanded +navBackToExpandedDisclosureButton,Navigate backwards to an expanded disclosure button,12,expandThirdDisclosureHideDropdownAndMoveFocusAfterDisclosure,"With focus on the 'Navigate backwards from here' link, navigate to the 'Academics' disclosure button.",roleNavigationLandmark nameMythicalUniversity roleList numberListItems3 roleButton nameAcademics stateExpanded +reqInfoAboutCollapsedDisclosureButton,Request information about a collapsed disclosure button,35,moveFocusToFirstDisclosure,"With focus on the 'About' disclosure button, read information about the disclosure button.",roleButton nameAbout stateCollapsed +reqInfoAboutExpandedDisclosureButton,Request information about an expanded disclosure button,38,moveFocusToAndExpandFirstDisclosure,"With focus on the 'About' disclosure button, read information about the disclosure button.",roleButton nameAbout stateExpanded +operateCollapsedDisclosureButton,Operate a collapsed disclosure button,41,moveFocusToFirstDisclosure,"With focus on the 'About' disclosure button, change its state to 'expanded'.",stateChangeToExpanded +operateExpandedDisclosureButton,Operate an expanded disclosure button,44,moveFocusToAndExpandFirstDisclosure,"With focus on the 'About' disclosure button, change its state to 'collapsed'.",stateChangeToCollapsed +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,Navigate from an expanded disclosure button to a link in the associated dropdown,47,moveFocusToAndExpandFirstDisclosure,"With focus on the 'About' disclosure button, navigate to the 'Overview' link.",roleList numberListItems4 roleLink nameOverview +navFromExpandedDisclosureButtonToCurrentPageLink,Navigate from an expanded disclosure button to the current page link,50,moveFocusToAndExpandFirstDisclosureAndSetCurrentPage,"With focus on the 'About' disclosure button, navigate to the 'Overview' link.",roleList numberListItems4 roleLink nameOverview stateCurrentPage +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,Navigate to an expanded disclosure button from a link in the associated dropdown,53,expandFirstDisclosureAndMoveFocusToOverviewLink,"With focus on the 'Overview' link, navigate to the 'About' disclosure button.",roleList listBoundary roleButton nameAbout stateExpanded +navFromCollapsedDisclosureButtonToLinkDropdown,Navigate from a collapsed disclosure button to a link in a dropdown,56,moveFocusToSecondDisclosureAndExpandFirstDisclosure,"With focus on the 'Admissions' disclosure button, navigate to the 'Campus Tours' link.",roleList listBoundary roleLink nameCampusTours +navToCollapsedDisclosureButtonFromLastLinkDropdown,Navigate to a collapsed disclosure button from the last link in a dropdown,59,expandFirstDisclosureAndMoveFocusToCampusToursLink,"With focus on the 'Campus Tours' link, navigate to the 'Admissions' disclosure button.",roleButton nameAdmissions stateCollapsed +dismissDropdown,Dismiss a dropdown,62,expandFirstDisclosureAndMoveFocusToOverviewLink,"With focus on the 'Overview' link, close the dropdown.",roleButton nameAbout stateCollapsed +activateLinkDropdown,Activate a link in a dropdown,65,expandFirstDisclosureAndMoveFocusToOverviewLink,"With focus on the 'Overview' link, activate the link.",roleRegion nameMythicalUniversitySamplePageContent diff --git a/tests/disclosure-navigation/data/voiceover_macos-commands.csv b/tests/disclosure-navigation/data/voiceover_macos-commands.csv new file mode 100644 index 000000000..7a9b64c87 --- /dev/null +++ b/tests/disclosure-navigation/data/voiceover_macos-commands.csv @@ -0,0 +1,49 @@ +testId,command,settings,assertionExceptions,presentationNumber +navForwardsToCollapsedDisclosureButton,ctrl+opt+right ctrl+opt+right ctrl+opt+right,,,3 +navForwardsToCollapsedDisclosureButton,b,quickNavOn,,3.1 +navForwardsToCollapsedDisclosureButton,j,quickNavOn,,3.2 +navForwardsToCollapsedDisclosureButton,tab,,,3.3 +navBackToCollapsedDisclosureButton,ctrl+opt+left ctrl+opt+left ctrl+opt+left,,,6 +navBackToCollapsedDisclosureButton,shift+b,quickNavOn,,6.1 +navBackToCollapsedDisclosureButton,shift+j,quickNavOn,,6.2 +navBackToCollapsedDisclosureButton,shift+tab,,,6.3 +navForwardsToExpandedDisclosureButton,ctrl+opt+right ctrl+opt+right ctrl+opt+right,,,9 +navForwardsToExpandedDisclosureButton,j,quickNavOn,,9.1 +navForwardsToExpandedDisclosureButton,b,quickNavOn,,9.2 +navForwardsToExpandedDisclosureButton,tab,,,9.3 +navBackToExpandedDisclosureButton,ctrl+opt+left ctrl+opt+left ctrl+opt+left,,,12 +navBackToExpandedDisclosureButton,shift+b,quickNavOn,,12.1 +navBackToExpandedDisclosureButton,shift+j,quickNavOn,,12.2 +navBackToExpandedDisclosureButton,shift+tab,,,12.3 +reqInfoAboutCollapsedDisclosureButton,ctrl+opt+f3,,,35 +reqInfoAboutCollapsedDisclosureButton,ctrl+opt+f4,,,35.1 +reqInfoAboutExpandedDisclosureButton,ctrl+opt+f3,,,38 +reqInfoAboutExpandedDisclosureButton,ctrl+opt+f4,,,38.1 +operateCollapsedDisclosureButton,ctrl+opt+space,,,41 +operateCollapsedDisclosureButton,space,,,41.1 +operateCollapsedDisclosureButton,enter,,,41.2 +operateExpandedDisclosureButton,ctrl+opt+space,,,44 +operateExpandedDisclosureButton,space,,,44.1 +operateExpandedDisclosureButton,enter,,,44.2 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,ctrl+opt+right ctrl+opt+right,,,47 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,tab,,,47.1 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,l,quickNavOn,,47.2 +navFromExpandedDisclosureButtonToLinkAssociatedDropdown,down,quickNavOff,,47.3 +navFromExpandedDisclosureButtonToCurrentPageLink,ctrl+opt+right ctrl+opt+right,,,50 +navFromExpandedDisclosureButtonToCurrentPageLink,tab,,,50.1 +navFromExpandedDisclosureButtonToCurrentPageLink,l,quickNavOn,,50.2 +navFromExpandedDisclosureButtonToCurrentPageLink,down,quickNavOff,,50.3 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,ctrl+opt+left ctrl+opt+left,,,53 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+tab,,,53.1 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+j,quickNavOn,,53.2 +navToExpandedDisclosureButtonFromLinkAssociatedDropdown,shift+b,quickNavOn,,50.3 +navFromCollapsedDisclosureButtonToLinkDropdown,ctrl+opt+left ctrl+opt+left,,,56 +navFromCollapsedDisclosureButtonToLinkDropdown,shift+tab,,,56.1 +navFromCollapsedDisclosureButtonToLinkDropdown,l,quickNavOn,,56.2 +navToCollapsedDisclosureButtonFromLastLinkDropdown,ctrl+opt+right ctrl+opt+right,,,59 +navToCollapsedDisclosureButtonFromLastLinkDropdown,j,quickNavOn,,59.1 +navToCollapsedDisclosureButtonFromLastLinkDropdown,tab,,,59.2 +navToCollapsedDisclosureButtonFromLastLinkDropdown,b,quickNavOn,,59.3 +dismissDropdown,esc,,,62 +activateLinkDropdown,ctrl+opt+space,,,65 +activateLinkDropdown,enter,,,65.1