Skip to content

Commit c87a66e

Browse files
IsaDCjscholes
andauthored
Create updated tests for APG design pattern example: Main landmark (#707)
* update timestamped example directory and references.csv * Example: update page title, remove 'Related Links' nav and similar example links, as well as 'Accessibility Features', 'Keyboard Support', 'Role, Property, State, and Tabindex Attributes' and source code sections and footer nav * remove previous APG example * Generate .html source files with scripts automatically * Update test 7 * Update some additional JAWS commands Co-authored-by: IsaDC <IsaDC@users.noreply.github.com> Co-authored-by: James Scholes <james@jamesscholes.com>
1 parent 32d2d9d commit c87a66e

27 files changed

+92
-61
lines changed

tests/main/data/commands.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
testId,task,mode,at,commandA,commandB,commandC,commandD,commandE
2-
1,Navigate forwards into a main landmark,READING,JAWS,R,DOWN,TAB,U,Q
2+
1,Navigate forwards into a main landmark,READING,JAWS,"R,DOWN","DOWN,DOWN",U,"Q,DOWN",TAB
33
1,Navigate forwards into a main landmark,READING,NVDA,D,DOWN,TAB,U,K
44
2,Navigate forwards into a main landmark,INTERACTION,JAWS,TAB,,,,
55
2,Navigate forwards into a main landmark,INTERACTION,NVDA,TAB,,,,
66
3,Navigate forwards into a main landmark,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",CTRL_OPT_CMD_L,,,
7-
4,Navigate backwards into a main landmark,READING,JAWS,UP,SHIFT_TAB,SHIFT_U,,
7+
4,Navigate backwards into a main landmark,READING,JAWS,"UP,UP",SHIFT_U,SHIFT_TAB,,
88
4,Navigate backwards into a main landmark,READING,NVDA,UP,SHIFT_TAB,SHIFT_U,SHIFT_K,
99
5,Navigate backwards into a main landmark,INTERACTION,JAWS,SHIFT_TAB,,,,
1010
5,Navigate backwards into a main landmark,INTERACTION,NVDA,SHIFT_TAB,,,,
1111
6,Navigate backwards into a main landmark,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_LEFT,CTRL_OPT_LEFT",SHIFT_CTRL_OPT_CMD_L,,,
12-
7,Navigate forwards out of a main landmark,READING,JAWS,DOWN,U,TAB,,
13-
7,Navigate forwards out of a main landmark,READING,NVDA,DOWN,U,K,TAB,
12+
7,Navigate forwards out of a main landmark,READING,JAWS,"DOWN,DOWN",U,"SHIFT_PERIOD,DOWN",TAB,
13+
7,Navigate forwards out of a main landmark,READING,NVDA,DOWN,U,K,COMMA,TAB
1414
8,Navigate forwards out of a main landmark,INTERACTION,JAWS,TAB,,,,
1515
8,Navigate forwards out of a main landmark,INTERACTION,NVDA,TAB,,,,
1616
9,Navigate forwards out of a main landmark,INTERACTION,VOICEOVER_MACOS,"CTRL_OPT_RIGHT,CTRL_OPT_RIGHT",CTRL_OPT_CMD_L,,,
17-
10,Navigate backwards out of a main landmark,READING,JAWS,UP,SHIFT_U,SHIFT_TAB,,
17+
10,Navigate backwards out of a main landmark,READING,JAWS,"UP,UP",SHIFT_U,SHIFT_TAB,,
1818
10,Navigate backwards out of a main landmark,READING,NVDA,UP,SHIFT_K,SHIFT_U,SHIFT_TAB,
1919
11,Navigate backwards out of a main landmark,INTERACTION,JAWS,SHIFT_TAB,,,,
2020
11,Navigate backwards out of a main landmark,INTERACTION,NVDA,SHIFT_TAB,,,,

tests/main/data/references.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ refId,value
22
author,Isabel Del Castillo
33
title,Main Landmark
44
authorEmail,isa.delcastillo5@gmail.com
5-
reference,reference/2021-10-24_181316/main.html
5+
reference,reference/2022-4-28_91451/main.html
66
designPattern,https://w3c.github.io/aria-practices/#aria_lh_main
77
example,https://w3c.github.io/aria-practices/examples/landmarks/main.html
88
main,https://w3c.github.io/aria/#main

tests/main/reference/2021-10-24_181316/css/bootstrap-accessibility.css renamed to tests/main/reference/2022-4-28_91451/css/bootstrap-accessibility.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.btn:focus {
22
outline: dotted 2px #000;
33
}
4+
45
div.active:focus {
56
outline: dotted 1px #000;
67
}
8+
79
a:focus {
810
outline: dotted 1px #000;
911
}
@@ -22,11 +24,9 @@ a:focus {
2224
position: absolute;
2325
top: -999999em;
2426
display: block;
25-
-webkit-transition: 0.6s ease-in-out left;
26-
-moz-transition: 0.6s ease-in-out left;
27-
-o-transition: 0.6s ease-in-out left;
2827
transition: 0.6s ease-in-out left;
2928
}
29+
3030
.carousel-inner > .active {
3131
top: 0;
3232
}
@@ -43,9 +43,11 @@ a:focus {
4343
top: 0;
4444
width: 100%;
4545
}
46+
4647
.alert-success {
4748
color: #2d4821;
4849
}
50+
4951
.alert-info {
5052
color: #214c62;
5153
}
@@ -54,9 +56,11 @@ a:focus {
5456
color: #6c4a00;
5557
background-color: #f9f1c6;
5658
}
59+
5760
.alert-danger {
5861
color: #d2322d;
5962
}
63+
6064
.alert-danger:hover {
6165
color: #a82824;
6266
}

tests/main/reference/2021-10-24_181316/css/bootstrap.css renamed to tests/main/reference/2022-4-28_91451/css/bootstrap.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/main/reference/2021-10-24_181316/css/common.css renamed to tests/main/reference/2022-4-28_91451/css/common.css

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ aside li {
7171
nav li {
7272
margin-top: 0.45em;
7373
border: solid thin #337ab7;
74-
border-top-left-radius: 6px;
75-
border-bottom-left-radius: 6px;
76-
border-top-right-radius: 6px;
77-
border-bottom-right-radius: 6px;
74+
border-radius: 6px;
7875
}
7976

8077
main ul.nav-tabs li {
@@ -144,10 +141,7 @@ aside {
144141
background-color: #f4f4f4;
145142
margin-right: 12em;
146143
width: 100%;
147-
border-top-left-radius: 6px;
148-
border-bottom-left-radius: 6px;
149-
border-top-right-radius: 6px;
150-
border-bottom-right-radius: 6px;
144+
border-radius: 6px;
151145
}
152146

153147
aside h2 {

tests/main/reference/2021-10-24_181316/css/visua11y.css renamed to tests/main/reference/2022-4-28_91451/css/visua11y.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ div.oaa-message-dialog > div {
2424

2525
div.oaa-element-overlay > div:hover {
2626
cursor: grab;
27-
cursor: -moz-grab;
28-
cursor: -webkit-grab;
2927
}
3028

3129
div.oaa-message-dialog {

0 commit comments

Comments
 (0)