Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NavMenu] Fix keyboard navigation #1950

Merged
merged 3 commits into from
Apr 26, 2024
Merged

[NavMenu] Fix keyboard navigation #1950

merged 3 commits into from
Apr 26, 2024

Conversation

hksalessio
Copy link
Contributor

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.
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.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

  • I have added a new component
  • I have added Unit Tests for my new compontent
  • I have modified an existing component
  • I have validated the Unit Tests for an existing component

@vnbaaij vnbaaij changed the title [FluentNavMenu] Fix keyboard navigation [NavMenu] Fix keyboard navigation Apr 26, 2024
@vnbaaij vnbaaij merged commit 01ed7ca into microsoft:dev Apr 26, 2024
2 checks passed
vnbaaij added a commit that referenced this pull request Apr 29, 2024
* [FluentNavMenu] Fix keyboard navigation

* [FluentNavMenu] Fix tests

---------

Co-authored-by: Alessio Dell Aquila <aquila.dellaquila@hks-systeme.de>
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
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.

None yet

2 participants