Skip to content

Commit

Permalink
UHF-11326: Added aria-controls and aria-labelledby to group menu
Browse files Browse the repository at this point in the history
  • Loading branch information
annadruid committed Feb 7, 2025
1 parent 8605aea commit 2cec30d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
{% set section_menu_title_current = null %}
{% endif %}

{% set section_menu_title_link = attributes.id ~ '-menu-link'|clean_id %}
{% set section_menu_aria_controls = attributes.id ~ '-menu-wrapper'|clean_id %}

{% set heading_id = attributes.id ~ '-menu'|clean_id %}
<nav role="navigation" aria-labelledby="{{ heading_id }}"{{ attributes|without('role', 'aria-labelledby') }} class="sidebar-navigation sidebar-navigation--section-navigation">
<div class="section-navigation__header">
Expand Down

0 comments on commit 2cec30d

Please sign in to comment.