Skip to content

Commit

Permalink
Add nav container label
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewMusgrave committed Jan 28, 2021
1 parent d3c2b20 commit 815560a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
},
"Frame": {
"skipToContent": "Skip to content",
"navigationLabel": "Navigation",
"Navigation": {
"closeMobileNavigationLabel": "Close navigation"
}
Expand Down
1 change: 1 addition & 0 deletions src/components/Frame/Frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class FrameInner extends PureComponent<CombinedProps, State> {
<div
aria-modal
role="dialog"
aria-label={i18n.translate('Polaris.Frame.navigationLabel')}
ref={this.navigationNode}
className={navClassName}
onKeyDown={this.handleNavKeydown}
Expand Down

0 comments on commit 815560a

Please sign in to comment.