]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix(visually-hidden): prevent overflowing children to become focusable (#41286)
authorGaël Poupard <ffoodd@users.noreply.github.com>
Sun, 4 May 2025 20:21:30 +0000 (22:21 +0200)
committerGitHub <noreply@github.com>
Sun, 4 May 2025 20:21:30 +0000 (13:21 -0700)
scss/mixins/_visually-hidden.scss

index 388916ccf69ce778716ade960b853f737c75a826..9dd0ad33bf8286cdf7f4074d90ada31f7c1041e4 100644 (file)
   &: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