Some ideas I came up with:

  • Add expand/collapse all buttons for each menu
  • Visually indicate parents of selected parent
  • Add role/aria-role to the widget (roles tree and treeitem)
  • Remove BUTTON element, use existing SUMMARY element

Issue fork menu_tree-3534118

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

peter törnstrand created an issue. See original summary.

peter törnstrand’s picture

Assigned: Unassigned » peter törnstrand
peter törnstrand’s picture

Issue summary: View changes
peter törnstrand’s picture

Issue summary: View changes
peter törnstrand’s picture

Also look into how we can prevent <span class="claro-details__summary-summary"></span> from being injected into our tree widget.

peter törnstrand’s picture

Issue summary: View changes

peter törnstrand’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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