Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anchor text for screen readers #693

Open
koalie opened this issue Nov 27, 2024 · 0 comments
Open

Anchor text for screen readers #693

koalie opened this issue Nov 27, 2024 · 0 comments

Comments

@koalie
Copy link
Contributor

koalie commented Nov 27, 2024

To reproduce
https://www.w3.org/sponsor/

Describe the issue
Relayed from @daniel-montalvo :

Ideally anchor text for screen readers should include the text of the anchor.
For example, <a href="#web-for-all-w3c-principles-champions" class="heading-anchor"><span aria-hidden="true">§</span><span class="visuallyhidden">anchor</span></a>
should be <a href="#web-for-all-w3c-principles-champions" class="heading-anchor"><span aria-hidden="true">§</span><span class="visuallyhidden">anchor Web for All - W3C Principles Champions </span></a>.

It's true that this is a common pattern that we are using (I've seen anchors like this on the calendar and probably other pages that I just can't remember now). This is AAA but still a huge improvement in usability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants