Post #2132669
2026-05-04 07:41 UTC
@inherentlee Screen reader user.
If you're mostly/only worried about labeling permalinks for screen readers, you can use aria-labelledby to give the permalink the same label as the target element (in this case the heading).
This is a Heading
anchor
This will be spoken as something like:
heading level 2 This is a Heading.
same page link This is a Heading.
I hope I understood what you're trying to do.
There's more info here:
https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context
Replies (1)
-
@inherentlee@flipping.rocks 2026-05-04 14:45
@enne It sounds like you understand, yes! Is the text repetition not annoying? Currently, I use text that a reads "Jump to section Heading Title" because having the extra context seemed useful, but if you know it is a same page link will that usually be enough context?