fix(v2): remove aria-hidden attr from anchor link of heading (#3806)

This commit is contained in:
Alexey Pyltsyn 2020-11-24 00:53:39 +03:00 committed by GitHub
parent f1bed8dd69
commit 9ca85cfff6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>