Skip to content

Commit 81d04d3

Browse files
authored
Merge pull request #3474 from yugalkaushik/accessibility-3448
Fix keyboard navigation for various settings
2 parents ee16859 + ee06c63 commit 81d04d3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

client/styles/components/_preferences.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.preferences {
44
width: 100%;
5-
width: #{math.div(640, $base-font-size)}rem;
5+
width: #{math.div(720, $base-font-size)}rem;
66
max-width: 100%;
77
max-height: 100%;
88
z-index: 9999;
@@ -21,7 +21,7 @@
2121
}
2222

2323
@media (min-width: 770px) {
24-
max-height: #{math.div(460, $base-font-size)}rem;
24+
max-height: #{math.div(520, $base-font-size)}rem;
2525
}
2626
}
2727

@@ -204,6 +204,12 @@ input[type="number"]::-webkit-outer-spin-button {
204204
font-weight: bold;
205205
}
206206
}
207+
.preference__radio-button:focus + .preference__option,
208+
.preference__radio-button:focus-visible + .preference__option {
209+
outline: 2px solid $dodgerblue;
210+
outline-offset: 2px;
211+
border-radius: 4px;
212+
}
207213

208214
.preference--hidden {
209215
@extend %hidden-element;

0 commit comments

Comments
 (0)