Skip to content

fix(web-components): fix keyboard navigation regressions for tree and menu-list#36118

Open
marchbox wants to merge 5 commits intomicrosoft:masterfrom
marchbox:users/machi/fix-tree-menu-focusgroup
Open

fix(web-components): fix keyboard navigation regressions for tree and menu-list#36118
marchbox wants to merge 5 commits intomicrosoft:masterfrom
marchbox:users/machi/fix-tree-menu-focusgroup

Conversation

@marchbox
Copy link
Copy Markdown
Contributor

@marchbox marchbox commented May 7, 2026

Previous Behavior

#35884 introduced 2 regressions related to keyboard navigations:

  • Tree: when focus is on an expanded tree item that contains child tree items, pressing right arrow should move focus to the first nested tree item
  • MenuList: when a menu item has hidden attribute in SSR HTML, when it’s hidden attribute removed, it should be focussble by keyboard again

New Behavior

Restored the behaviors and added tests.

@marchbox marchbox requested a review from a team as a code owner May 7, 2026 19:06
@marchbox marchbox changed the title fix keyboard navigation regressions for tree and menu-list fix(web-components): fix keyboard navigation regressions for tree and menu-list May 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

📊 Bundle size report

✅ No changes found

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Pull request demo site: URL

@marchbox marchbox enabled auto-merge (squash) May 7, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant