diff --git a/scss/mixins/_visually-hidden.scss b/scss/mixins/_visually-hidden.scss index 388916ccf6..9dd0ad33bf 100644 --- a/scss/mixins/_visually-hidden.scss +++ b/scss/mixins/_visually-hidden.scss @@ -19,6 +19,11 @@ &:not(caption) { position: absolute !important; } + + // Fix to prevent overflowing children to become focusable + * { + overflow: hidden !important; + } } // Use to only display content when it's focused, or one of its child elements is focused