fix(ui): Make heading anchors focusable (#43058)

This commit is contained in:
Jeremias Menichelli authored and GitHub committed 2026-02-20 20:45:30 +01:00
1 parent 0835e49a34
commit cff64ea1a9
1 file changed
+2 -3
@@ -58,10 +58,9 @@ const Heading = forwardRef(
{anchor && (
<a
href={link}
aria-hidden="true"
className="ml-2 opacity-0 group-hover:opacity-100 transition"
className="ml-2 opacity-0 focus:opacity-100 group-hover:opacity-100 transition"
>
<span aria-hidden="true">#</span>
#
</a>
)}
</HeadingTag>