Skip to content

Commit 89a57ba

Browse files
authored
replace 'skip btn' :focus-visible styles with .visually-hidden-focusable (#322)
1 parent 728c082 commit 89a57ba

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

less/media.less

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,7 @@
1515
.u-display-none;
1616
}
1717

18-
&:not(:focus-visible) {
19-
display: block;
20-
height: 0;
21-
padding: 0;
22-
margin: 0;
23-
overflow: hidden;
24-
}
18+
.visually-hidden-focusable;
2519
}
2620

2721
// Transcript container

0 commit comments

Comments
 (0)