From 251d512b736e4fd1b125ec82a9b150af28b417a8 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Wed, 17 Apr 2024 16:37:26 +0200 Subject: [PATCH] fix(dsfr): v1.11.1 removes aria-haspopup from burger button --- app/views/layouts/_header.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_header.haml b/app/views/layouts/_header.haml index 14ac1a165..4048831e0 100644 --- a/app/views/layouts/_header.haml +++ b/app/views/layouts/_header.haml @@ -21,7 +21,7 @@ .fr-header__navbar - if is_search_enabled %button.fr-btn--search.fr-btn{ "aria-controls" => "search-modal", "data-fr-opened" => "false", :title => t('views.users.dossiers.search.search_file') }= t('views.users.dossiers.search.search_file') - %button#navbar-burger-button.fr-btn--menu.fr-btn{ "aria-controls" => "modal-header__menu", "aria-haspopup" => "menu", "data-fr-opened" => "false", title: "Menu" } Menu + %button#navbar-burger-button.fr-btn--menu.fr-btn{ "aria-controls" => "modal-header__menu", "data-fr-opened" => "false", title: "Menu" } Menu .fr-header__service - root_profile_link, root_profile_libelle = root_path_info_for_profile(nav_bar_profile)