From 4db0665ab694f7730d68a7b5fa0bbea1309df394 Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 6 Sep 2024 15:27:02 +0600 Subject: [PATCH] web/SupportedServices: aria label for the expand button --- web/i18n/en/save.json | 2 ++ web/src/components/save/SupportedServices.svelte | 1 + 2 files changed, 3 insertions(+) diff --git a/web/i18n/en/save.json b/web/i18n/en/save.json index 25087f5e..fee6f9f1 100644 --- a/web/i18n/en/save.json +++ b/web/i18n/en/save.json @@ -8,5 +8,7 @@ "terms.note.agreement": "by continuing, you agree to", "terms.note.link": "terms and ethics of use", "services.title": "supported services", + "services.title_show": "show supported services", + "services.title_hide": "hide supported services", "services.disclaimer": "cobalt is not affiliated with any of the services listed above." } diff --git a/web/src/components/save/SupportedServices.svelte b/web/src/components/save/SupportedServices.svelte index 01d3a521..263e0671 100644 --- a/web/src/components/save/SupportedServices.svelte +++ b/web/src/components/save/SupportedServices.svelte @@ -30,6 +30,7 @@ await loadInfo(); } }} + aria-label={$t(`save.services.title_${expanded ? "hide" : "show"}`)} >