Skip to content
Snippets Groups Projects
Commit 91b2861f authored by Stew West's avatar Stew West
Browse files

Issue #3413341 by stewest: Fix W3 validation' --author="Stew West...

parent d74c8525
No related branches found
No related tags found
1 merge request!3Issue #3413341 by stewest: Fix W3 validation' --author="Stew West...
......@@ -45,7 +45,7 @@
<li{{ item.attributes.addClass(nav_item_classes) }}>
{% if item.is_expanded and item.below %}
{% if render_submenu_toggle %}
<button type="button" aria-expanded="false" class="menu__toggle" aria-controls="{{ aria_id }}">
<button type="button" aria-expanded="false" class="menu__toggle" aria-controls="{{ 'sub-menu-sub-nav-' ~ aria_id }}">
{{ item.title }}
<span class="material-symbols-sharp" aria-hidden="true">expand_more</span>
</button>
......
......@@ -40,7 +40,7 @@
<li{{ item.attributes.addClass(nav_item_classes) }}>
{% if item.is_expanded and item.below %}
{% if render_submenu_toggle %}
<button type="button" aria-expanded="false" class="menu__toggle" aria-controls="{{ aria_id }}">
<button type="button" aria-expanded="false" class="menu__toggle" aria-controls="{{ 'sub-menu-subnav__' ~ aria_id }}">
{{ item.title }}
<span class="material-symbols-sharp" aria-hidden="true">expand_more</span>
</button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment