mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 11:47:23 +02:00
fix(v2): remove aria-hidden attr from anchor link of heading (#3806)
This commit is contained in:
parent
f1bed8dd69
commit
9ca85cfff6
1 changed files with 1 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue