From 2cec30d5ab69b67d6af389de373859b9639a3e95 Mon Sep 17 00:00:00 2001 From: Anna Lonka Date: Fri, 7 Feb 2025 08:17:25 +0200 Subject: [PATCH] UHF-11326: Added aria-controls and aria-labelledby to group menu --- .../helfi_group/templates/block--group-content-menu.html.twig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/modules/custom/helfi_group/templates/block--group-content-menu.html.twig b/public/modules/custom/helfi_group/templates/block--group-content-menu.html.twig index cb9b79c3..65f9a21a 100644 --- a/public/modules/custom/helfi_group/templates/block--group-content-menu.html.twig +++ b/public/modules/custom/helfi_group/templates/block--group-content-menu.html.twig @@ -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 %}