Problem/Motivation

https://validator.w3.org/ shows errors in the Main Navigation "aria-controls" attributes of the button controlling the sub-nav.

  <button type="button" aria-expanded="false" class="menu__toggle" aria-controls="{{ aria_id }}">

Proposed resolution

Change aria-controls attribute to match the unique sub nav id

     <button type="button" aria-expanded="false" class="menu__toggle" aria-controls="{{ 'sub-nav-' ~ aria_id }}">
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

stewest created an issue. See original summary.

  • stewest committed 91b2861f on 1.1.x
    Issue #3413341 by stewest: Fix W3 validation' --author="Stew West...
    
stewest’s picture

Status: Active » Reviewed & tested by the community

Looks good, and tested

stewest’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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