mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
fix: remove unnecessary aria-label from the link icon in headings
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-ui': patch
|
||||
---
|
||||
|
||||
Remove unnecessary `aria-label` from the link icon in headings
|
||||
@@ -24,10 +24,7 @@ export function Heading<T extends Types = 'h1'>({
|
||||
<a data-card="" href={`#${props.id}`} className="peer">
|
||||
{props.children}
|
||||
</a>
|
||||
<Link
|
||||
aria-label="Link to section"
|
||||
className="size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100"
|
||||
/>
|
||||
<Link className="size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" />
|
||||
</As>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user