-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Browse mode Navigation: Fix broken submenu items #50551
Conversation
Size Change: +8 B (0%) Total Size: 1.39 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This works to hide the submenu and show the popover, while the popover is still navigable for screen readers and keyboard.
Testing this out, I did fine some unrelated keyboard navigation and a11y issues so I'll open some other issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
What?
Fixes #50536
Why?
The current experience is broken and it shows half of the nav block that should be hidden in specific edge cases
How?
We hide the hidden block properly, this time using the
VisuallyHidden
component. We need to be mindful that we don't undo the work from #48746 and the related link control popovers are still showingTesting Instructions
Screenshots or screencast