-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Keyboard focus is lost when exiting the dropdown #8697
Copy link
Copy link
Closed
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 executiondomain: a11yRelated to accessibility concerns of the default themeRelated to accessibility concerns of the default theme
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 executiondomain: a11yRelated to accessibility concerns of the default themeRelated to accessibility concerns of the default theme
Type
Fields
Give feedbackNo fields configured for issues without a type.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
Thank you, maintainers and contributors, for this useful framework!
Bug: Keyboard focus is lost when exiting the dropdown (e.g. language switcher).
Docusaurus.-.Dropdown.Keyboard.Focus.Bug.cut.mp4
Reproducible demo
https://stackblitz.com/edit/github-segjfa?file=docusaurus.config.js
Steps to reproduce
Tab,Tab, ... to focus language switcher.Enterto open dropdown.Tab,Tab, ... to move focus.Expected behavior
Focus moves to theme switcher.
Actual behavior
Focus is lost.
Your environment
Self-service