From db53941be30cd8aae405a2363a1e0d5e39bf923b Mon Sep 17 00:00:00 2001 From: Sampo Tawast Date: Thu, 17 Aug 2023 15:36:44 +0300 Subject: [PATCH] fix: use correct aria-label for mobile menu --- frontend/benefit/applicant/public/locales/en/common.json | 4 ++-- frontend/benefit/applicant/public/locales/fi/common.json | 4 ++-- frontend/benefit/applicant/public/locales/sv/common.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/benefit/applicant/public/locales/en/common.json b/frontend/benefit/applicant/public/locales/en/common.json index 6b3ce28ee3..d58bd7a54f 100644 --- a/frontend/benefit/applicant/public/locales/en/common.json +++ b/frontend/benefit/applicant/public/locales/en/common.json @@ -374,7 +374,8 @@ "drawer": { "title": "Application’s messages" }, - "languageMenuButtonAriaLabel": "Select language" + "languageMenuButtonAriaLabel": "Select language", + "menuToggleAriaLabel": "Menu" }, "footer": { "copyrightText": "Copyright", @@ -421,7 +422,6 @@ "credentialsIngress": { "text": "A person to be employed with the Helsinki benefit must be informed of the processing of their personal data. Print the notification and request a signature from the person to be employed." }, - "menuToggleAriaLabel": "Menu", "form": { "validation": { "required": "This field is required", diff --git a/frontend/benefit/applicant/public/locales/fi/common.json b/frontend/benefit/applicant/public/locales/fi/common.json index 7020b7519b..54c56ff7d3 100644 --- a/frontend/benefit/applicant/public/locales/fi/common.json +++ b/frontend/benefit/applicant/public/locales/fi/common.json @@ -374,7 +374,8 @@ "drawer": { "title": "Hakemuksen viestit" }, - "languageMenuButtonAriaLabel": "Valitse kieli" + "languageMenuButtonAriaLabel": "Valitse kieli", + "menuToggleAriaLabel": "Valikko" }, "footer": { "copyrightText": "Copyright", @@ -421,7 +422,6 @@ "credentialsIngress": { "text": "Helsinki-lisällä työllistettävää henkilöä on tiedotettava hänen henkilötietojensa käsittelystä. Tulosta tiedoksianto ja pyydä siihen allekirjoitus työllistettävältä." }, - "menuToggleAriaLabel": "Valikko", "form": { "validation": { "required": "Tämä kenttä on pakollinen", diff --git a/frontend/benefit/applicant/public/locales/sv/common.json b/frontend/benefit/applicant/public/locales/sv/common.json index ac3f6fcb2c..ac5c657c3b 100644 --- a/frontend/benefit/applicant/public/locales/sv/common.json +++ b/frontend/benefit/applicant/public/locales/sv/common.json @@ -374,7 +374,8 @@ "drawer": { "title": "Meddelanden om ansökan" }, - "languageMenuButtonAriaLabel": "Ändra språk" + "languageMenuButtonAriaLabel": "Ändra språk", + "menuToggleAriaLabel": "Menu" }, "footer": { "copyrightText": "Copyright", @@ -421,7 +422,6 @@ "credentialsIngress": { "text": "Den person som anställs med Helsingforstillägg ska informeras om behandlingen av hens personuppgifter. Skriv ut informationen och be den anställda om underskrift." }, - "menuToggleAriaLabel": "Menu", "form": { "validation": { "required": "Detta är ett obligatoriskt fält",