diff --git a/packages/react/src/components/Masthead/MastheadL1.js b/packages/react/src/components/Masthead/MastheadL1.js index a00acfe4ad6..bd40af51e34 100644 --- a/packages/react/src/components/Masthead/MastheadL1.js +++ b/packages/react/src/components/Masthead/MastheadL1.js @@ -33,12 +33,6 @@ const MastheadL1 = ({ navigationL1, ...rest }) => { document .querySelector(`.${prefix}--header__menu-bar`) ?.setAttribute('role', 'menu'); - document - .querySelectorAll(`.${prefix}--header__menu-bar li`) - .forEach((e) => { - e.setAttribute('role', 'menuitem'); - e.querySelector('a').removeAttribute('role'); - }); }, []); const mastheadL1Links = navigationL1.map((link, index) => {