Skip to content

Defocus outside modal window does not allow navigating back with Tab #41503

Description

@RaitisSevelis

Description

If you open any modal window, then click on something within browser, you are not able to navigate back to the modal window using Tab key.

Step-by-step reproduction instructions

  1. Open modal window (ex. Welcome Guide or Keyboard Shortcuts)
  2. Click on the address bar (Keep modal window open)
  3. Navigate using Tab
  4. Issue: You are not able to focus on modal window any more

Screenshots, screen recording, code snippet

tab-issue-gutenberg.mov

Environment info

  • WordPress 6.0
  • Chrome Version 102.0.5005.61

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions