From 8b5ecfb2fe587c37c57a6dba7fd4149ed96ee432 Mon Sep 17 00:00:00 2001 From: Sine Jespersen Date: Tue, 10 Jun 2025 13:52:24 +0200 Subject: [PATCH 1/4] Add aria label to close button --- src/lib/components/chat/SettingsModal.svelte | 1 + src/lib/i18n/locales/ar-BH/translation.json | 1 + src/lib/i18n/locales/ar/translation.json | 1 + src/lib/i18n/locales/bg-BG/translation.json | 1 + src/lib/i18n/locales/bn-BD/translation.json | 1 + src/lib/i18n/locales/bo-TB/translation.json | 1 + src/lib/i18n/locales/ca-ES/translation.json | 1 + src/lib/i18n/locales/ceb-PH/translation.json | 1 + src/lib/i18n/locales/cs-CZ/translation.json | 1 + src/lib/i18n/locales/da-DK/translation.json | 1 + src/lib/i18n/locales/de-DE/translation.json | 2 +- src/lib/i18n/locales/dg-DG/translation.json | 1 + src/lib/i18n/locales/el-GR/translation.json | 1 + src/lib/i18n/locales/en-GB/translation.json | 1 + src/lib/i18n/locales/en-US/translation.json | 1 + src/lib/i18n/locales/es-ES/translation.json | 1 + src/lib/i18n/locales/et-EE/translation.json | 1 + src/lib/i18n/locales/eu-ES/translation.json | 1 + src/lib/i18n/locales/fa-IR/translation.json | 1 + src/lib/i18n/locales/fi-FI/translation.json | 1 + src/lib/i18n/locales/fr-CA/translation.json | 1 + src/lib/i18n/locales/fr-FR/translation.json | 1 + src/lib/i18n/locales/he-IL/translation.json | 1 + src/lib/i18n/locales/hi-IN/translation.json | 1 + src/lib/i18n/locales/hr-HR/translation.json | 1 + src/lib/i18n/locales/hu-HU/translation.json | 1 + src/lib/i18n/locales/id-ID/translation.json | 1 + src/lib/i18n/locales/ie-GA/translation.json | 1 + src/lib/i18n/locales/it-IT/translation.json | 1 + src/lib/i18n/locales/ja-JP/translation.json | 1 + src/lib/i18n/locales/ka-GE/translation.json | 1 + src/lib/i18n/locales/ko-KR/translation.json | 1 + src/lib/i18n/locales/lt-LT/translation.json | 1 + src/lib/i18n/locales/ms-MY/translation.json | 1 + src/lib/i18n/locales/nb-NO/translation.json | 1 + src/lib/i18n/locales/nl-NL/translation.json | 1 + src/lib/i18n/locales/pa-IN/translation.json | 1 + src/lib/i18n/locales/pl-PL/translation.json | 1 + src/lib/i18n/locales/pt-BR/translation.json | 1 + src/lib/i18n/locales/pt-PT/translation.json | 1 + src/lib/i18n/locales/ro-RO/translation.json | 1 + src/lib/i18n/locales/ru-RU/translation.json | 1 + src/lib/i18n/locales/sk-SK/translation.json | 1 + src/lib/i18n/locales/sr-RS/translation.json | 1 + src/lib/i18n/locales/sv-SE/translation.json | 1 + src/lib/i18n/locales/th-TH/translation.json | 1 + src/lib/i18n/locales/tk-TW/translation.json | 1 + src/lib/i18n/locales/tr-TR/translation.json | 1 + src/lib/i18n/locales/uk-UA/translation.json | 1 + src/lib/i18n/locales/ur-PK/translation.json | 1 + src/lib/i18n/locales/vi-VN/translation.json | 1 + src/lib/i18n/locales/zh-CN/translation.json | 1 + src/lib/i18n/locales/zh-TW/translation.json | 1 + 53 files changed, 53 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index 19a98fe35..1881bc09b 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/src/lib/components/chat/SettingsModal.svelte @@ -541,6 +541,7 @@
{$i18n.t('Settings')}
From c9820d65a63d99935386c4df64ee5ba93844822f Mon Sep 17 00:00:00 2001 From: Sine Jespersen Date: Tue, 10 Jun 2025 13:59:27 +0200 Subject: [PATCH 3/4] add aria-hidden to svg, as this is decorative and only cause confusion for users with assistive tech --- src/lib/components/icons/XMark.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/icons/XMark.svelte b/src/lib/components/icons/XMark.svelte index b75be506c..adf1715d1 100644 --- a/src/lib/components/icons/XMark.svelte +++ b/src/lib/components/icons/XMark.svelte @@ -7,6 +7,7 @@ xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" + aria-hidden="true" stroke-width={strokeWidth} stroke="currentColor" class={className} From 56b012e3a6601e30d9025dcf20ebef9e1b170351 Mon Sep 17 00:00:00 2001 From: Sine Jespersen Date: Tue, 10 Jun 2025 14:06:14 +0200 Subject: [PATCH 4/4] danish translation added --- src/lib/i18n/locales/da-DK/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/i18n/locales/da-DK/translation.json b/src/lib/i18n/locales/da-DK/translation.json index 980da8b11..17bac7a65 100644 --- a/src/lib/i18n/locales/da-DK/translation.json +++ b/src/lib/i18n/locales/da-DK/translation.json @@ -209,7 +209,7 @@ "Clone Chat": "Klon chat", "Clone of {{TITLE}}": "Klon af {{TITLE}}", "Close": "Luk", - "Close settings modal": "", + "Close settings modal": "Luk dialogboks med indstillinger", "Code execution": "Kode kørsel", "Code Execution": "Kode kørsel", "Code Execution Engine": "Kode kørsel engine",