diff --git a/changes/changelog.d/576.enhancement b/changes/changelog.d/576.enhancement
new file mode 100644
index 000000000..ee6087a73
--- /dev/null
+++ b/changes/changelog.d/576.enhancement
@@ -0,0 +1 @@
+Improved keyboard accessibility on player, queue and various controls (#576)
diff --git a/front/src/App.vue b/front/src/App.vue
index 16154b130..946a0621e 100644
--- a/front/src/App.vue
+++ b/front/src/App.vue
@@ -359,6 +359,13 @@ html, body {
cursor: pointer;
}
+.ui.really.basic.button {
+ &:not(:focus) {
+ box-shadow: none !important;
+ background-color: none !important;
+ }
+}
+
.floated.buttons .button ~ .dropdown {
border-left: none;
}
@@ -380,4 +387,27 @@ a {
display: none;
}
+button.reset {
+ border: none;
+ margin: 0;
+ padding: 0;
+ width: auto;
+ overflow: visible;
+
+ background: transparent;
+
+ /* inherit font & color from ancestor */
+ color: inherit;
+ font: inherit;
+
+ /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
+ line-height: normal;
+
+ /* Corrects font smoothing for webkit */
+ -webkit-font-smoothing: inherit;
+ -moz-osx-font-smoothing: inherit;
+ /* Corrects inability to style clickable `input` types in iOS */
+ -webkit-appearance: none;
+ text-align: inherit;
+}
diff --git a/front/src/components/Pagination.vue b/front/src/components/Pagination.vue
index cc5f17164..bdc20b53d 100644
--- a/front/src/components/Pagination.vue
+++ b/front/src/components/Pagination.vue
@@ -1,25 +1,25 @@
@@ -90,4 +90,3 @@ export default {
cursor: pointer;
}
-
diff --git a/front/src/components/Sidebar.vue b/front/src/components/Sidebar.vue
index efd6f416c..8702f8051 100644
--- a/front/src/components/Sidebar.vue
+++ b/front/src/components/Sidebar.vue
@@ -16,8 +16,8 @@
-
-
-
-
-
-
+
+
-
-
+
+
+
-
+
+
+
+ :aria-label="labels.mute"
+ @click.prevent.stop="mute">
+
+
-
-
+
+
+
- 1
-
-
+
+ 1
+
+
+
-
+ @click.prevent.stop="$store.commit('player/looping', 0)">
+
+
+
-
+
+
-
-
-
+
+
@@ -370,6 +415,9 @@ export default {
color: white !important;
}
}
+.controls a {
+ color: white;
+}
.controls .icon.big {
cursor: pointer;
diff --git a/front/src/components/audio/album/Widget.vue b/front/src/components/audio/album/Widget.vue
index 73bf0d226..ccef49295 100644
--- a/front/src/components/audio/album/Widget.vue
+++ b/front/src/components/audio/album/Widget.vue
@@ -3,10 +3,8 @@
-
-
-
-
+
+
diff --git a/front/src/components/audio/track/Row.vue b/front/src/components/audio/track/Row.vue
index 2dce036eb..b17cf1170 100644
--- a/front/src/components/audio/track/Row.vue
+++ b/front/src/components/audio/track/Row.vue
@@ -40,7 +40,7 @@
N/A
|
-
+ |
diff --git a/front/src/components/audio/track/Table.vue b/front/src/components/audio/track/Table.vue
index 476a3f0bd..9612accbc 100644
--- a/front/src/components/audio/track/Table.vue
+++ b/front/src/components/audio/track/Table.vue
@@ -8,7 +8,7 @@
Artist |
Album |
Duration |
- |
+ |
diff --git a/front/src/components/audio/track/Widget.vue b/front/src/components/audio/track/Widget.vue
index 6a1d06690..5ed280981 100644
--- a/front/src/components/audio/track/Widget.vue
+++ b/front/src/components/audio/track/Widget.vue
@@ -3,12 +3,9 @@
-
-
-
-
-
-
+
+
+
diff --git a/front/src/components/favorites/TrackFavoriteIcon.vue b/front/src/components/favorites/TrackFavoriteIcon.vue
index 88402159c..690dab21b 100644
--- a/front/src/components/favorites/TrackFavoriteIcon.vue
+++ b/front/src/components/favorites/TrackFavoriteIcon.vue
@@ -4,7 +4,14 @@
In favorites
Add to favorites
-
+
|