Repository navigation
Conversation
…er does not tab into the page behind the menu or into parent columns that are off screen on mobile.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 88be4e4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 87 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
DivaniNL
force-pushed
the
focus-trap-fix
branch
from
November 27, 2026 11:02
f174066 to
89959d5
Compare
Contributor
|
Kunnen we dit niet volledig afvangen met alleen |
Contributor
Author
|
Yep, sounds good. Dit werkt ook lekker. Enkel de regel in NavigationItem moet wel blijven. Anders moet je eerst door verborgen navitems tabben in de mobiele weergave (best wel een edge cast want dan moet je je scherm op desktop klein maken) maar goed om af te vangen i guess. Als je dit ook weg wil hebben let me know |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Written by Claude Code:
With the navigation menu open, Tab moves focus out of the menu into the page behind it. In a submenu, Tab also goes to the items of the parent columns, which are off screen on mobile.
NavigationItem: an item is a tab stop only when itsparentPathis the same as the selection. Theincludescheck also matched the parent columns.NavigationOverlay: Tab on the last focusable element of the pane moves focus to the first one, and Shift+Tab on the first one moves focus to the last one.OverlayBase:overlayPanePropsaccepts the props of a motiondiv, so the pane can getonKeyDown.Test plan: on the magento-graphcms preview, click "Shop" in the header and press Tab and Shift+Tab. Focus goes through Back, Close and the items of the open column, and stays in the menu. Open a submenu with Enter and do the same: only the items of that submenu are tab stops.
🤖 Generated with Claude Code