From c44b6a595d7e71926e3fb843b48787c1f14904ab Mon Sep 17 00:00:00 2001 From: Ariella Gilmore Date: Fri, 13 Nov 2020 10:50:53 -0800 Subject: [PATCH] fix(masthead): add aria-hidden to overflow nav carets (#4489) ### Related Ticket(s) #4182 ### Description add aria-hidden to caret buttons for screen readers using up and down arrows ### Changelog **New** - add aria-hidden="true" to carets --- .../__snapshots__/storyshots.test.js.snap | 26 +++++++++++++++++++ .../components/Masthead/HeaderNavContainer.js | 2 ++ 2 files changed, 28 insertions(+) diff --git a/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap b/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap index 65ad682cac9..4ba1a6d2592 100644 --- a/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap +++ b/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap @@ -32606,6 +32606,7 @@ exports[`Storyshots Components|Dotcom Shell Default (footer language only) 1`] = @@ -204,6 +205,7 @@ const HeaderNavContainer = ({ children }) => { onClick={paginateRight} ref={caretRightRef} tabIndex="-1" + aria-hidden="true" hidden>