mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 04:07:32 +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}
|
id={id}
|
||||||
/>
|
/>
|
||||||
{props.children}
|
{props.children}
|
||||||
<a
|
<a className="hash-link" href={`#${id}`} title="Direct link to heading">
|
||||||
aria-hidden="true"
|
|
||||||
className="hash-link"
|
|
||||||
href={`#${id}`}
|
|
||||||
title="Direct link to heading">
|
|
||||||
#
|
#
|
||||||
</a>
|
</a>
|
||||||
</Tag>
|
</Tag>
|
||||||
|
|
Loading…
Add table
Reference in a new issue