Skip to content

Commit

Permalink
Add focus-visible style for NcCheckboxRadioSwitch
Browse files Browse the repository at this point in the history
Improve accesibility by making focus indicator visible.

Resolves : nextcloud/photos#1671

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
Fenn-CS committed Jun 7, 2023
1 parent 7344337 commit ea9c8ba
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -583,6 +583,10 @@ export default {
height: var(--icon-size);
}
&__input:focus-visible + label {
outline: 2px solid var(--color-main-text) !important;
}
&__label {
display: flex;
align-items: center;
Expand Down

0 comments on commit ea9c8ba

Please sign in to comment.