Skip to content

Commit

Permalink
fix(v2): remove aria-hidden attr from anchor link of heading
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Nov 23, 2020
1 parent f1bed8d commit 618ca71
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ const Heading = (Tag: HeadingType): ((props: Props) => JSX.Element) =>
id={id}
/>
{props.children}
<a
aria-hidden="true"
className="hash-link"
href={`#${id}`}
title="Direct link to heading">
<a className="hash-link" href={`#${id}`} title="Direct link to heading">
#
</a>
</Tag>
Expand Down

0 comments on commit 618ca71

Please sign in to comment.