From 758d13f2dcc506dabf87089a9f9e84a946eb341c Mon Sep 17 00:00:00 2001 From: Sangeetha Babu <58620134+sangeethababu9223@users.noreply.github.com> Date: Fri, 25 Aug 2023 19:27:51 +0530 Subject: [PATCH 1/2] fix(masthead-a11y):navigation unique labels --- packages/react/src/components/Masthead/MastheadL1.js | 2 +- packages/web-components/src/components/masthead/top-nav.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/components/Masthead/MastheadL1.js b/packages/react/src/components/Masthead/MastheadL1.js index a00acfe4ad6..b3e5d687e6c 100644 --- a/packages/react/src/components/Masthead/MastheadL1.js +++ b/packages/react/src/components/Masthead/MastheadL1.js @@ -89,7 +89,7 @@ const MastheadL1 = ({ navigationL1, ...rest }) => { + aria-label="Main Navigation"> {mastheadL1Links} diff --git a/packages/web-components/src/components/masthead/top-nav.ts b/packages/web-components/src/components/masthead/top-nav.ts index bcb4338767b..6b6183ef645 100644 --- a/packages/web-components/src/components/masthead/top-nav.ts +++ b/packages/web-components/src/components/masthead/top-nav.ts @@ -595,7 +595,7 @@ class DDSTopNav extends StableSelectorMixin(HostListenerMixin(BXHeaderNav)) {
-