Skip to content

Commit

Permalink
refactor(v2): add aria role for doc sidebar (#2864)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Jun 2, 2020
1 parent ed9977a commit a32422c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function DocPage(props) {
<Layout version={version} key={isClient}>
<div className={styles.docPage}>
{sidebar && (
<div className={styles.docSidebarContainer}>
<div className={styles.docSidebarContainer} role="complementary">
<DocSidebar
docsSidebars={docsSidebars}
path={isHomePage ? homePagePath : currentRoute.path}
Expand Down

0 comments on commit a32422c

Please sign in to comment.