-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Headings are read twice by VoiceOver #9222
Comments
Hey I'm not an accessibility expert, do you have any idea why this happens? We did some accessibility changes to the headings here: #8336 cc @zmrhaljiri |
Is this issue open ?? If yes please assign me |
Please stop asking for issues. We don't assign people. If you want to contribute, just send a PR. |
Heading links have an accessible name of "Direct link to [Heading title]", each link is inside the heading, so the accessible name of each heading for assistive technologies will concatenate the heading name and link name. I think we could just put the link after the heading in the DOM as a first step(it's still quite verbose) On the MDN website, they just make the heading text as a link which could be a solution, but this makes it harder to select the heading text. Nice article that explains different solutions with their pros and cons https://amberwilson.co.uk/blog/are-your-anchor-links-accessible/ and related GitHub issue valeriangalliat/markdown-it-anchor#82 |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
On macOS, the VoiceOver screen reader reads all headings twice, which is very annoying.
Here's a recording using Safari + VoiceOver:
docusaurus_safari_voiceover.mp4
And here's a recording using Chrome + VoiceOver:
docusaurus_chrome_voiceover.mp4
Reproducible demo
No response
Steps to reproduce
Cmd + F5
<leader> + A
(usually Ctrl + Alt + A)Expected behavior
I'd expect each heading to only be read once.
Actual behavior
Each heading is read twice.
Your environment
Official Docusaurus website.
Self-service
The text was updated successfully, but these errors were encountered: