Merge pull request #39277 from nextcloud/test/4193-Buttons_accessibility_improvements

Set double outline to buttons in focus state
pull/39321/head
Julia Kirschenheuter 11 months ago committed by GitHub
commit a756600b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -522,7 +522,8 @@ export default {
background-color: var(--color-background-hover)!important;
}
&:focus-visible {
box-shadow: 0 0 0 2px var(--color-main-text) !important;
box-shadow: 0 0 0 4px var(--color-main-background) !important;
outline: 2px solid var(--color-main-text) !important;
}
}

@ -301,8 +301,9 @@ export default {
&:focus {
background-color: var(--color-background-hover);
}
&:focus {
box-shadow: 0 0 0 2px var(--color-main-text) !important;
&:focus-visible {
box-shadow: 0 0 0 4px var(--color-main-background) !important;
outline: 2px solid var(--color-main-text) !important;
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -731,7 +731,7 @@ $min-content-width: variables.$breakpoint-mobile - variables.$navigation-width -
}
}
}
&::-webkit-scrollbar-button {
height: var(--body-container-radius);
}
@ -1430,3 +1430,7 @@ $outter-margin: math.div($popoveritem-height - $popovericon-size, 2);
display: flex;
}
}
.button.primary.skip-navigation:focus-visible {
box-shadow: 0 0 0 4px var(--color-main-background) !important;
outline: 2px solid var(--color-main-text) !important;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save