-
Notifications
You must be signed in to change notification settings - Fork 73
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
Option to remove aria-hidden from output #58
Comments
Hi @zachleat, thank you for pointing this out! Initially I thought we made the right call on this because, as you said:
So, I went to the to source looking for the
It made sense that for a better UX it was the right call to remove that inactive element from the focus order... But after further research I found out that MDN clearly says:
And an HTMLAnchorElement with a So I think this should be changed. |
Any additional words on this topic @valeriangalliat? |
While we are still discussing this, what about changing it to: |
Fixed on 5.2.5 |
@zachleat @nagaozen I would like to revisit this point. How will screen-readers know to ignore the
|
I believe that adding
aria-hidden
is incorrect for these links. These links should be accessible and would be useful to screen reader users too!Notably this throws an error when using the axe-core accessibility linting tool.
The options to fix here are to remove
aria-hidden
(thus, this issue) or to settabindex="-1"
on the link, which wouldn’t be right either. I want these links to be focusable.Thank you!
The text was updated successfully, but these errors were encountered: