Skip to content

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

@jeryj

Description

@jeryj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] NavigationAffects the Navigation Block[Feature] Interactivity APIAPI to add frontend interactivity to blocks.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions