1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 03:41:19 +02:00

Expand visually-hidden-focusable so it can be used on a container, so the container becomes visible when focus is inside it / on one of its child elements.

This commit is contained in:
Patrick H. Lauke
2020-12-11 23:28:45 +02:00
committed by XhmikosR
parent 9b6c815148
commit eae52b1cb0
4 changed files with 12 additions and 5 deletions

View File

@@ -3,6 +3,6 @@
//
.visually-hidden,
.visually-hidden-focusable:not(:focus) {
.visually-hidden-focusable:not(:focus):not(:focus-within) {
@include visually-hidden();
}