From 361e7fc2e5bf05be59db7daf4439bf984cd02f16 Mon Sep 17 00:00:00 2001 From: Bruce B Date: Thu, 10 Feb 2022 17:02:26 -0800 Subject: [PATCH] fix(a11y): FCC logo link (#45039) * fix: fcc logo link * fix: fcc svg label * feat: use translated aria for logo * clean up Co-authored-by: ahmad abdolsaheb --- client/i18n/locales/english/translations.json | 2 +- client/src/assets/icons/FreeCodeCamp-logo.tsx | 3 +-- client/src/components/Header/components/universal-nav.tsx | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/client/i18n/locales/english/translations.json b/client/i18n/locales/english/translations.json index 4807454721..9ac11fa644 100644 --- a/client/i18n/locales/english/translations.json +++ b/client/i18n/locales/english/translations.json @@ -449,7 +449,7 @@ "magnifier": "magnifier" }, "aria": { - "fcc-logo": "freeCodeCamp Logo", + "fcc-curriculum": "freeCodeCamp Curriculum", "answer": "Answer", "linkedin": "Link to {{username}}'s LinkedIn", "github": "Link to {{username}}'s GitHub", diff --git a/client/src/assets/icons/FreeCodeCamp-logo.tsx b/client/src/assets/icons/FreeCodeCamp-logo.tsx index 4885512957..ff223b69ef 100644 --- a/client/src/assets/icons/FreeCodeCamp-logo.tsx +++ b/client/src/assets/icons/FreeCodeCamp-logo.tsx @@ -6,9 +6,8 @@ function FreeCodeCampLogo(): JSX.Element { return ( freeCodeCamp.org