Skip to content

Commit c5bec4e

Browse files
authored
fix(visually-hidden): prevent overflowing children to become focusable (#41286)
1 parent 4c98145 commit c5bec4e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scss/mixins/_visually-hidden.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
&:not(caption) {
2020
position: absolute !important;
2121
}
22+
23+
// Fix to prevent overflowing children to become focusable
24+
* {
25+
overflow: hidden !important;
26+
}
2227
}
2328

2429
// Use to only display content when it's focused, or one of its child elements is focused

0 commit comments

Comments
 (0)