Problem/Motivation

This issue was brought up by JayDarnell in #2896323: Expand primary menu processing options. There are a couple of places in the USWDS-processed menus where a menu item is treated as an "accordion button", which opens up a list of the child items beneath it. But because clicking it only shows/hides the children, there is no way to follow the menu link itself.

Proposed resolution

Provide an optional setting that will duplicate these accordion button links as the first item in the list of children below them. It should be possible to turn on/off this behavior for both the mobile menu and the primary menu (which are the two places where the accordion behavior can occur in the menus).

Remaining tasks

Write and review patch.

User interface changes

New options in theme settings.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brockfanning created an issue. See original summary.

brockfanning’s picture

brockfanning’s picture

  • brockfanning committed 6a78f64 on 7.x-1.x
    Issue #2896805 by brockfanning, JayDarnell: Automatically duplicate a...

  • brockfanning committed edcbb37 on 8.x-1.x
    Issue #2896805 by brockfanning, JayDarnell: Automatically duplicate a...
brockfanning’s picture

Status: Needs review » Fixed

@JayDarnell: I needed to merge these in order to move on to the next ticket, but feel free to still provide any feedback here. They seemed to work as expected.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.