From f5d3a100ba28cadb0e4a2324d4da58884462b515 Mon Sep 17 00:00:00 2001 From: Andi Pieper Date: Fri, 17 Jan 2025 15:43:54 +0100 Subject: [PATCH] chore(menu): change accessibility menu items (#12365) --- client/src/ui/molecules/learn-menu/index.tsx | 7 +++++++ client/src/ui/molecules/reference-menu/index.tsx | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/client/src/ui/molecules/learn-menu/index.tsx b/client/src/ui/molecules/learn-menu/index.tsx index 9b290d2e7e2f..bb64c0a175c2 100644 --- a/client/src/ui/molecules/learn-menu/index.tsx +++ b/client/src/ui/molecules/learn-menu/index.tsx @@ -51,6 +51,13 @@ export const LearnMenu = ({ visibleSubMenuId, toggleMenu }) => { label: "JavaScript", url: `/${locale}/docs/Learn_web_development/Core/Scripting`, }, + { + description: "Learn to make the web accessible to all", + hasIcon: true, + iconClasses: "submenu-icon", + label: "Accessibility", + url: `/${locale}/docs/Learn_web_development/Core/Accessibility`, + }, ], }; const isOpen = visibleSubMenuId === menu.id; diff --git a/client/src/ui/molecules/reference-menu/index.tsx b/client/src/ui/molecules/reference-menu/index.tsx index 795fa3ea243a..964c3c380015 100644 --- a/client/src/ui/molecules/reference-menu/index.tsx +++ b/client/src/ui/molecules/reference-menu/index.tsx @@ -68,7 +68,7 @@ export const ReferenceMenu = ({ visibleSubMenuId, toggleMenu }) => { url: `/${locale}/docs/Mozilla/Add-ons/WebExtensions`, }, { - description: "Learn to make the web accessible to all", + description: "Build web projects usable for all", hasIcon: true, iconClasses: "submenu-icon", label: "Accessibility",