diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 4f73696d26..ca16ca5557 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -366,6 +366,12 @@ input { &:focus + label:before { border-color: var(--color-primary-element); } + &:focus-visible + label { + outline-style: solid; + outline-color: var(--color-primary-element); + outline-width: 1px; + outline-offset: 2px; + } &:checked + label:before, &.checkbox:indeterminate + label:before { /* ^ :indeterminate have a strange behavior on radio,