Fix W3 validation

Created on 9 January 2024, 11 months ago
Updated 24 January 2024, 10 months ago

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 }}">
🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇳🇿New Zealand stewest Wellington

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024