Based on PR #1730, this PR fixes keyboard navigation in the FluentNavMenu component.
The nav menu can be opened and closed with keys again when collapsible.
Disabled FluentNavMenuGroups and FluentNavMenuItems can't be focused using keyboard navigation anymore.
📑 Test Plan
The FluentNavGroup_Disabled test was affected by this PR as it seems to have allowed focusing a disabled nav menu group.
✅ Checklist
General
[ ] I have added tests for my changes.
[x] I have tested my changes.
[ ] I have updated the project documentation to reflect my changes.
[x] I have read the CONTRIBUTING documentation and followed the standards for this project.
Pull Request
📖 Description
Based on PR #1730, this PR fixes keyboard navigation in the
FluentNavMenu
component. The nav menu can be opened and closed with keys again when collapsible. DisabledFluentNavMenuGroup
s andFluentNavMenuItem
s can't be focused using keyboard navigation anymore.📑 Test Plan
The
FluentNavGroup_Disabled
test was affected by this PR as it seems to have allowed focusing a disabled nav menu group.✅ Checklist
General
Component-specific