From: Gaƫl Poupard Date: Sun, 4 May 2025 20:21:30 +0000 (+0200) Subject: fix(visually-hidden): prevent overflowing children to become focusable (#41286) X-Git-Tag: v5.3.6~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c5bec4ea7bd74b679fc2ecc53c141bff3750915b;p=thirdparty%2Fbootstrap.git fix(visually-hidden): prevent overflowing children to become focusable (#41286) --- 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