Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create updated tests for APG design pattern example: Tabs with Manual Activation #755

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 43 additions & 48 deletions tests/tabs-manual-activation/data/commands.csv
Original file line number Diff line number Diff line change
@@ -1,48 +1,43 @@
testId,task,mode,at,commandA,commandB,commandC,commandD,commandE,commandF
1,navigate forwards to tab list,reading,JAWS,TAB,DOWN,,,,
1,navigate forwards to tab list,reading,NVDA,TAB,DOWN,,,,
2,navigate backwards to tab list,reading,JAWS,SHIFT_TAB,UP,,,,
2,navigate backwards to tab list,reading,NVDA,SHIFT_TAB,UP,,,,
3,navigate forwards to tab list,interaction,JAWS,TAB,,,,,
3,navigate forwards to tab list,interaction,NVDA,TAB,,,,,
4,navigate backwards to tab list,interaction,JAWS,SHIFT_TAB,,,,,
4,navigate backwards to tab list,interaction,NVDA,SHIFT_TAB,,,,,
5,navigate forwards to tab list,interaction,voiceover_macos,TAB,CTRL_OPT_RIGHT,CTRL_OPT_CMD_J,,,
6,navigate backwards to tab list,interaction,voiceover_macos,SHIFT_TAB,CTRL_OPT_LEFT,SHIFT_CTRL_OPT_CMD_J,,,
7,read information about tab in tab list,reading,JAWS,INS_TAB,INS_UP,,,,
7,read information about tab in tab list,reading,NVDA,INS_TAB,INS_UP,,,,
8,read information about tab in tab list,interaction,JAWS,INS_TAB,INS_UP,,,,
8,read information about tab in tab list,interaction,NVDA,INS_TAB,INS_UP,,,,
9,read information about tab in tab list,interaction,voiceover_macos,CTRL_OPT_F3,CTRL_OPT_F4,,,,
10,navigate to next tab in tab list,reading,JAWS,DOWN,,,,,
10,navigate to next tab in tab list,reading,NVDA,DOWN,,,,,
11,navigate to next tab in tab list,interaction,JAWS,RIGHT,,,,,
11,navigate to next tab in tab list,interaction,NVDA,RIGHT,,,,,
12,navigate to next tab in tab list,interaction,voiceover_macos,CTRL_OPT_RIGHT,,,,,
13,navigate to previous tab in tab list,reading,JAWS,UP,,,,,
13,navigate to previous tab in tab list,reading,NVDA,UP,,,,,
14,navigate to previous tab in tab list ,interaction,JAWS,LEFT,,,,,
14,navigate to previous tab in tab list ,interaction,NVDA,LEFT,,,,,
15,navigate to previous tab in tab list,interaction,voiceover_macos,CTRL_OPT_LEFT,,,,,
16,navigate to first tab in tab list,interaction,JAWS,HOME,,,,,
16,navigate to first tab in tab list,interaction,NVDA,HOME,,,,,
17,navigate to first tab in tab list,interaction,voiceover_macos,HOME,,,,,
18,navigate to last tab in tab list,interaction,JAWS,END,,,,,
18,navigate to last tab in tab list,interaction,NVDA,END,,,,,
19,navigate to last tab in tab list,interaction,voiceover_macos,END,,,,,
20,navigate forwards to tab panel,interaction,JAWS,TAB,,,,,
20,navigate forwards to tab panel,interaction,NVDA,TAB,,,,,
21,navigate backwards to tab panel,interaction,JAWS,SHIFT_TAB,,,,,
21,navigate backwards to tab panel,interaction,NVDA,SHIFT_TAB,,,,,
22,navigate forwards to tab panel,interaction,voiceover_macos,TAB,CTRL_OPT_RIGHT,,,,
23,navigate backwards to tab panel,interaction,voiceover_macos,SHIFT_TAB,CTRL_OPT_LEFT,,,,
24,activate tab in tab list,reading,JAWS,SPACE,ENTER,,,,
24,activate tab in tab list,reading,NVDA,SPACE,ENTER,,,,
25,activate tab in tab list,interaction,JAWS,SPACE,ENTER,,,,
25,activate tab in tab list,interaction,NVDA,SPACE,ENTER,,,,
26,activate tab in tab list,interaction,voiceover_macos,CTRL_OPT_SPACE,SPACE,ENTER,,,
27,delete tab from tab list ,reading,JAWS,DELETE,,,,,
27,delete tab from tab list ,reading,NVDA,DELETE,,,,,
28,delete tab from tab list ,interaction,JAWS,DELETE,,,,,
28,delete tab from tab list ,interaction,NVDA,DELETE,,,,,
29,delete tab from tab list,interaction,voiceover_macos,DELETE,,,,,
testId,task,mode,at,commandA,commandB,commandC
1,Navigate forwards to a tab list,READING,JAWS,TAB,"DOWN,DOWN",
1,Navigate forwards to a tab list,READING,NVDA,TAB,DOWN,
2,Navigate forwards to a tab list,INTERACTION,JAWS,TAB,,
2,Navigate forwards to a tab list,INTERACTION,NVDA,TAB,,
3,Navigate forwards to a tab list,INTERACTION,VOICEOVER_MACOS,TAB,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",CTRL_OPT_CMD_J
4,Navigate backwards to a tab list,READING,JAWS,SHIFT_TAB,"UP,UP",
4,Navigate backwards to a tab list,READING,NVDA,SHIFT_TAB,UP,
5,Navigate backwards to a tab list,INTERACTION,JAWS,SHIFT_TAB,,
5,Navigate backwards to a tab list,INTERACTION,NVDA,SHIFT_TAB,,
6,Navigate backwards to a tab list,INTERACTION,VOICEOVER_MACOS,SHIFT_TAB,"CTRL_OPT_LEFT,CTRL_OPT_LEFT",SHIFT_CTRL_OPT_CMD_J
7,Read information about a tab in a tab list ,READING,JAWS,INS_TAB,INS_UP,
7,Read information about a tab in a tab list ,READING,NVDA,INS_TAB,INS_UP,
8,Read information about a tab in a tab list ,INTERACTION,JAWS,INS_TAB,INS_UP,
8,Read information about a tab in a tab list ,INTERACTION,NVDA,INS_TAB,INS_UP,
9,Read information about a tab in a tab list ,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_F4,CTRL_OPT_F4,
10,Navigate to the next tab in a tab list,READING,JAWS,DOWN,,
10,Navigate to the next tab in a tab list,READING,NVDA,DOWN,,
11,Navigate to the next tab in a tab list,INTERACTION,JAWS,RIGHT,,
11,Navigate to the next tab in a tab list,INTERACTION,NVDA,RIGHT,,
12,Navigate to the next tab in a tab list,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_RIGHT,,
13,Navigate to the previous tab in a tab list,READING,JAWS,UP,,
13,Navigate to the previous tab in a tab list,READING,NVDA,UP,,
14,Navigate to the previous tab in a tab list,INTERACTION,JAWS,LEFT,,
14,Navigate to the previous tab in a tab list,INTERACTION,NVDA,LEFT,,
15,Navigate to the previous tab in a tab list,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_LEFT,,
16,Navigate to the first tab in a tab list,INTERACTION,JAWS,HOME,,
16,Navigate to the first tab in a tab list,INTERACTION,NVDA,HOME,,
17,Navigate to the first tab in a tab list,INTERACTION,VOICEOVER_MACOS,HOME,,
18,Navigate to the last tab in a tab list,INTERACTION,JAWS,END,,
18,Navigate to the last tab in a tab list,INTERACTION,NVDA,END,,
19,Navigate to the last tab in a tab list,INTERACTION,VOICEOVER_MACOS,END,,
20,Navigate forwards to a tab panel,INTERACTION,JAWS,TAB,,
20,Navigate forwards to a tab panel,INTERACTION,NVDA,TAB,,
21,Navigate forwards to a tab panel,INTERACTION,VOICEOVER_MACOS,TAB,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT,CTRL_OPT_RIGHT,CTRL_OPT_RIGHT,CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",
22,Navigate backwards to a tab panel,INTERACTION,JAWS,SHIFT_TAB,,
22,Navigate backwards to a tab panel,INTERACTION,NVDA,SHIFT_TAB,,
23,Navigate backwards to a tab panel,INTERACTION,VOICEOVER_MACOS,SHIFT_TAB,CTRL_OPT_LEFT,
24,Activate a tab in a tab list,READING,JAWS,SPACE,ENTER,
24,Activate a tab in a tab list,READING,NVDA,SPACE,ENTER,
25,Activate a tab in a tab list,INTERACTION,JAWS,SPACE,ENTER,
25,Activate a tab in a tab list,INTERACTION,NVDA,SPACE,ENTER,
26,Activate a tab in a tab list,INTERACTION,VOICEOVER_MACOS,CTRL_OPT_SPACE,SPACE,ENTER
4 changes: 2 additions & 2 deletions tests/tabs-manual-activation/data/references.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ refId,value
author,Isabel Del Castillo
authorEmail,[email protected]
title,Tabs with Manual Activation
reference,reference/2021-2-15_124757/tabs.html
reference,reference/2022-6-10_16318/tabs-manual.html
designPattern,https://w3c.github.io/aria-practices/#tabpanel
example,https://w3c.github.io/aria-practices/examples/tabs/tabs-2/tabs.html
example,https://w3c.github.io/aria-practices/examples/tabs/tabs-manual.html
tablist,https://w3c.github.io/aria/#tablist
tab,https://w3c.github.io/aria/#tab
tabpanel,https://w3c.github.io/aria/#tabpanel
Expand Down
Loading