Skip to content

best way to save what you love

web/SupportedServices: aria label for the expand button

wukko4db0665ab694
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"}`)}
>
<div class="expand-icon">
<IconPlus />