[bug]: Focus handling mobile navigation #4546
Labels
🐞 bug
Something isn't working
📦 components
Related to the @swisspost/design-system-components package
Header
Everything related to our composible header components
Milestone
Describe the bug
When opening the second level navigation, the focus should jump to the first focusable element on the second level. Currently, the focus stays on the first level trigger and becomes invisible as soon as the second level slides in.
When the second level gets closed, the focus should jump back to the first level trigger that opened the second level navigation. Currently, the focus stays on the hidden second level navigation.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: