fix: remove unnecessary aria-label from the link icon in headings

This commit is contained in:
Joo Chanhwi
2025-11-09 19:36:52 +09:00
parent 1d6259c3aa
commit 2eef8880d5
2 changed files with 6 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-ui': patch
---
Remove unnecessary `aria-label` from the link icon in headings
+1 -4
View File
@@ -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>
);
}