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

Dropdown doesn't hide after tabbing to next menu element #925

Open
craigs100 opened this issue Oct 26, 2024 · 0 comments
Open

Dropdown doesn't hide after tabbing to next menu element #925

craigs100 opened this issue Oct 26, 2024 · 0 comments

Comments

@craigs100
Copy link

Resource URL

https://www.w3.org/WAI/tutorials/menus/flyout/

Description

Approach 2:Use button as toggle

The code examples you provide do not show how the dropdown is hidden once you've tabbed away from it. I can get it to show and hide when clicking the arrow icon, but once you tab down the submenu times and onto the next menu item, yours hides, mine doesn't. I'm using the same code as you've shown.

Please either explain or modify the code.

Thanks.

Resource Shortname

wai-tutorials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant