-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Open
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executionstatus: needs triageThis issue has not been triaged by maintainersThis issue has not been triaged by maintainers
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
The main navigation dropdowns cannot be opened using the Enter key when a screen reader is active, preventing keyboard-only users from accessing sub-menu links.
Reproducible demo
No response
Steps to reproduce
-
On Windows, turn on the Narrator screen reader or any other screen reader.
-
Open the Docusaurus website in a browser.
-
Use the Tab key to navigate to a dropdown menu in the navbar, like the "Canary" version switcher or the "English"
language switcher. -
Press the Enter key.
Expected behavior
The dropdown menu should open, allowing the user to navigate the options.
Actual behavior
Nothing happens. The dropdown menu does not open when Enter is pressed.
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used:
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
- I'd be willing to fix this bug myself.
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executionstatus: needs triageThis issue has not been triaged by maintainersThis issue has not been triaged by maintainers