Problem/Motivation

Accessible menu navigations target the first

    element in the nav. Normally, that's fine- but if a user can see something like the contextual module menu, it will find that menu first, and initialize itself on that.

    Proposed resolution

    Explicitly ignore contextual

      s or maybe just make the default selector a direct child on the nav.

Comments

nickdjm created an issue. See original summary.

nickdjm’s picture

Assigned: Unassigned » nickdjm
Status: Active » Fixed

I've altered the default selector for menuElements to be ul:not(.contextual-links). The direct child selector doesn't work in JS, so this was the easier solution.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

nickdjm’s picture

Version: 1.x-dev » 1.0.1
Status: Fixed » Closed (fixed)