Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Another way for focus to escape modal (shift+tab as first action) #28

@cbotman

Description

@cbotman

When a modal opens, if the first action you perform is to press shift+tab (i.e. previous link), it escapes the modal and focuses the first background link.

If your first action is to press tab, then you hit shift+tab twice, it doesn't then escape modal, so my guess is we're doing something when tab is pressed to restrict the focus, but we're not doing the same action on shift+tab.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions