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

Can't Close the Submenu with Click or Keypress on Chevron #50746

Closed
jeryj opened this issue May 18, 2023 · 2 comments
Closed

Can't Close the Submenu with Click or Keypress on Chevron #50746

jeryj opened this issue May 18, 2023 · 2 comments
Labels
[Block] Navigation Affects the Navigation Block [Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Bug An existing feature does not function as intended

Comments

@jeryj
Copy link
Contributor

jeryj commented May 18, 2023

Description

The Interactivity API for the Navigation block doesn't allow an open submenu to be closed when using the chevron icon.

Step-by-step reproduction instructions

  1. Have a navigation with a submenu
  2. Go to the frontend of the site
  3. Use the keyboard to place focus on the submenu chevron icon
  4. Press enter to open the submenu
  5. Press enter again. The submenu should close, but it remains open.
@jeryj jeryj added [Block] Navigation Affects the Navigation Block [Feature] Interactivity API API to add frontend interactivity to blocks. labels May 18, 2023
@gziolo gziolo added the [Type] Bug An existing feature does not function as intended label May 19, 2023
@SantosGuillamot
Copy link
Contributor

Thanks a lot for reporting this 🙂 I created this pull request to handle that among other accessibility issues.

@luisherranz
Copy link
Member

Fixed by #50786.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants