Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Aug 21, 2022
1 parent 447ade4 commit 89f78aa
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ export default function SkipToContent(): JSX.Element {
<div
ref={containerRef}
role="region"
aria-label={translate({
id: 'theme.common.skipToMainContent',
message: 'Skip to main content',
description: 'The skip to content aria label used for accessibility of the region div',
})}>
aria-label={translate({id: 'theme.common.skipToMainContent'})}>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a href="#" className={styles.skipToContent} onClick={handleSkip}>
<Translate
Expand Down

0 comments on commit 89f78aa

Please sign in to comment.