Skip to content

Commit a251e4c

Browse files
Merge pull request #475 from akhramov/fix/WCAG-2.0-2.4.7-for-buttons
[Fixes #474] WCAG-2.0 pt. 2.4.7 violation for buttons
2 parents c0c460f + 496ba5a commit a251e4c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/styles/app.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ header .button.button-primary.button-download {
6666
margin-top: 25px;
6767
}
6868

69-
header .button.button-primary.button-download:hover {
70-
border-color: black;
69+
header .button.button-primary.button-download {
70+
&:hover, &:focus {
71+
border-color: black;
72+
}
7173
}
7274

7375
h2.subtitle {
@@ -152,7 +154,7 @@ a.brand {
152154
display: block;
153155
overflow: hidden;
154156
text-overflow: ellipsis;
155-
&:hover {
157+
&:hover, &:focus {
156158
border-color: white;
157159
}
158160
}
@@ -179,7 +181,7 @@ a.brand {
179181
display: block;
180182
overflow: hidden;
181183
text-overflow: ellipsis;
182-
&:hover {
184+
&:hover, &:focus {
183185
border-color: white;
184186
}
185187
}
@@ -207,7 +209,7 @@ a.brand {
207209
display: block;
208210
overflow: hidden;
209211
text-overflow: ellipsis;
210-
&:hover {
212+
&:hover, &:focus {
211213
border-color: $gray;
212214
}
213215
}
@@ -236,7 +238,7 @@ a.brand {
236238
display: block;
237239
overflow: hidden;
238240
text-overflow: ellipsis;
239-
&:hover {
241+
&:hover, &:focus {
240242
border-color: white;
241243
}
242244
}

0 commit comments

Comments
 (0)