From 0542d899a30c3dee67d98330c98119fca32f7f85 Mon Sep 17 00:00:00 2001 From: Lenny Angst Date: Mon, 25 Aug 2025 22:18:06 +0200 Subject: [PATCH] Improve switch and settings tabs accessibility We had a lot of a11y warnings on build. We still have some now, but not that many any more. The settings tabs are now navigable by keyboard and should be announced correctly. The solution is not perfect (yet), as BeerCSS requires some things to be done that way, unfortunately. --- materialious/android/.idea/deviceManager.xml | 13 ++ materialious/package-lock.json | 4 +- .../components/Settings/ApiExtended.svelte | 3 +- .../lib/components/Settings/DeArrow.svelte | 6 +- .../lib/components/Settings/Interface.svelte | 25 ++- .../src/lib/components/Settings/Player.svelte | 27 ++-- .../src/lib/components/Settings/RYD.svelte | 3 +- .../lib/components/Settings/Settings.svelte | 144 +++++++++++------- .../components/Settings/SponsorBlock.svelte | 9 +- 9 files changed, 155 insertions(+), 79 deletions(-) create mode 100644 materialious/android/.idea/deviceManager.xml diff --git a/materialious/android/.idea/deviceManager.xml b/materialious/android/.idea/deviceManager.xml new file mode 100644 index 00000000..91f95584 --- /dev/null +++ b/materialious/android/.idea/deviceManager.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/materialious/package-lock.json b/materialious/package-lock.json index d45f9e95..405217f7 100644 --- a/materialious/package-lock.json +++ b/materialious/package-lock.json @@ -1,12 +1,12 @@ { "name": "materialious", - "version": "1.10.3", + "version": "1.10.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "materialious", - "version": "1.10.3", + "version": "1.10.4", "hasInstallScript": true, "dependencies": { "@capacitor-community/electron": "^5.0.1", diff --git a/materialious/src/lib/components/Settings/ApiExtended.svelte b/materialious/src/lib/components/Settings/ApiExtended.svelte index 85a97472..b1c4a51c 100644 --- a/materialious/src/lib/components/Settings/ApiExtended.svelte +++ b/materialious/src/lib/components/Settings/ApiExtended.svelte @@ -29,11 +29,12 @@

{$_('enabled')}

-