Skip to content

Commit

Permalink
fix(docusaurus-theme-classic): add missing role=region to SkipToContent
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 7, 2022
1 parent 9f0809a commit c07a0b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function SkipToContent(): JSX.Element {
});

return (
<div ref={containerRef}>
<div ref={containerRef} role="region">
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a href="#" className={styles.skipToContent} onClick={handleSkip}>
<Translate
Expand Down

0 comments on commit c07a0b2

Please sign in to comment.