Open simurai opened 3 weeks ago
This came up in this accessibility audit. Once the focus is inside the menu, the focus is trapped and you can't get out of it with the tab key.
tab
enter
https://github.com/primer/brand/assets/378023/5f87d5b8-2a76-446a-8a4f-a55ce8d9c42a
Chrome
Mac
FYI: Here another comment from a follow-up review.
Describe the bug
This came up in this accessibility audit. Once the focus is inside the menu, the focus is trapped and you can't get out of it with the
tab
key.Reproduction steps
tab
to navigatetab
key doesn't work anymore and you can't reach the "Sign up" button.Expected behavior
tab
+enter
to navigatetab
key, the focus should move to the "Sign up" button and not be "trapped" in the menu.Screenshots
https://github.com/primer/brand/assets/378023/5f87d5b8-2a76-446a-8a4f-a55ce8d9c42a
Browsers
Chrome
OS
Mac