Skip to content

Commit

Permalink
fix(UIShell): fix voiceover issue with closed SideNav (#7864)
Browse files Browse the repository at this point in the history
* fix(UIShell): fix voiceover issue with closed SideNav

* chore(tests): update snapshots

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Feb 24, 2021
1 parent d0eaa50 commit c2b4f1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/UIShell/SideNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const SideNav = React.forwardRef(function SideNav(props, ref) {
<>
{isFixedNav ? null : <div className={overlayClassName} />}
<nav
aria-hidden={!expanded}
ref={ref}
className={`${prefix}--side-nav__navigation ${className}`}
{...accessibilityLabel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ exports[`SideNav should render 1`] = `
className="bx--side-nav__overlay"
/>
<nav
aria-hidden={true}
aria-label="Navigation"
className="bx--side-nav__navigation bx--side-nav bx--side-nav--ux"
onBlur={[Function]}
Expand Down

0 comments on commit c2b4f1f

Please sign in to comment.