Skip to content

Commit ab0548e

Browse files
authored
Merge pull request #31584 from nextcloud/fix/accessibility
2 parents 07f17d0 + c149951 commit ab0548e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+404
-105
lines changed

apps/dashboard/src/DashboardApp.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,9 @@ export default {
517517
518518
& > .panel--content {
519519
margin: 0 16px 16px 16px;
520-
height: 420px;
520+
height: 424px;
521521
// We specifically do not want scrollbars inside widgets
522-
overflow: hidden;
522+
overflow: visible;
523523
}
524524
525525
// No need to extend height of widgets if only one column is shown
@@ -566,7 +566,7 @@ export default {
566566
background-color: var(--color-background-hover)!important;
567567
}
568568
&:focus-visible {
569-
border: 2px solid var(--color-main-text)!important;
569+
box-shadow: 0 0 0 2px var(--color-main-text) !important;
570570
}
571571
}
572572

apps/files/css/files.css

+13-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files/css/files.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files/css/files.scss

+15-1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ table th .columntitle {
232232
box-sizing: border-box;
233233
-moz-box-sizing: border-box;
234234
vertical-align: middle;
235+
&:focus-visible {
236+
border-radius: 2px;
237+
}
235238
}
236239
table.multiselect th .columntitle {
237240
display: inline-block;
@@ -507,6 +510,9 @@ table td.selection {
507510
&:focus + label {
508511
background-color: var(--color-background-hover);
509512
border-radius: var(--border-radius-pill);
513+
outline: none !important;
514+
border: 2px solid var(--color-primary) !important;
515+
padding: 14px;
510516
}
511517
}
512518

@@ -845,6 +851,10 @@ table.dragshadow td.size {
845851
position: relative;
846852
}
847853

854+
.breadcrumb .icon-home {
855+
border-radius: var(--border-radius);
856+
}
857+
848858
.breadcrumb .canDrop > a,
849859
#filestable tbody tr.canDrop {
850860
background-color: rgba( variables.$color-primary, .3 );
@@ -885,7 +895,6 @@ table.dragshadow td.size {
885895

886896
> a[href='#'] {
887897
// if no link is set, no mouse feedback
888-
box-shadow: none !important;
889898
&, * {
890899
cursor: default !important;
891900
}
@@ -1196,6 +1205,11 @@ table.dragshadow td.size {
11961205
#showgridview:focus + & {
11971206
opacity: 1;
11981207
}
1208+
1209+
&:focus-visible,
1210+
#showgridview:focus-visible + & {
1211+
box-shadow: inset 0 0 0 2px var(--color-primary) !important;
1212+
}
11991213
}
12001214

12011215
/**

apps/files/css/merged.css

+13-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)