From 79968f12fbef47e2a33aae9f12f33b3c476339d1 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Wed, 6 Nov 2019 09:11:55 +0100 Subject: [PATCH] RGAA A : h4 => span in top dropdown item to respect title hierarchy (9.1.2) --- app/assets/stylesheets/new_design/help_dropdown.scss | 2 +- app/views/shared/help/dropdown_items/_email_item.html.haml | 2 +- app/views/shared/help/dropdown_items/_faq_item.html.haml | 2 +- app/views/shared/help/dropdown_items/_messagerie_item.html.haml | 2 +- app/views/shared/help/dropdown_items/_service_item.html.haml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/new_design/help_dropdown.scss b/app/assets/stylesheets/new_design/help_dropdown.scss index 01d8bd70c..d0f0d66d4 100644 --- a/app/assets/stylesheets/new_design/help_dropdown.scss +++ b/app/assets/stylesheets/new_design/help_dropdown.scss @@ -11,7 +11,7 @@ } } -h4.help-dropdown-title { +.help-dropdown-title { font-size: 16px; color: $blue; } diff --git a/app/views/shared/help/dropdown_items/_email_item.html.haml b/app/views/shared/help/dropdown_items/_email_item.html.haml index e921003e5..d409ab875 100644 --- a/app/views/shared/help/dropdown_items/_email_item.html.haml +++ b/app/views/shared/help/dropdown_items/_email_item.html.haml @@ -2,5 +2,5 @@ = mail_to CONTACT_EMAIL do %span.icon.mail .dropdown-description - %h4.help-dropdown-title Contact technique + %span.help-dropdown-title Contact technique %p Envoyez nous un message à #{CONTACT_EMAIL}. diff --git a/app/views/shared/help/dropdown_items/_faq_item.html.haml b/app/views/shared/help/dropdown_items/_faq_item.html.haml index 86f82348b..fd48bb56d 100644 --- a/app/views/shared/help/dropdown_items/_faq_item.html.haml +++ b/app/views/shared/help/dropdown_items/_faq_item.html.haml @@ -2,5 +2,5 @@ = link_to FAQ_URL, target: "_blank", rel: "noopener" do %span.icon.help .dropdown-description - %h4.help-dropdown-title Un problème avec le site ? + %span.help-dropdown-title Un problème avec le site ? %p Trouvez votre réponse dans l’aide en ligne. diff --git a/app/views/shared/help/dropdown_items/_messagerie_item.html.haml b/app/views/shared/help/dropdown_items/_messagerie_item.html.haml index 2e25a78c8..94d31143d 100644 --- a/app/views/shared/help/dropdown_items/_messagerie_item.html.haml +++ b/app/views/shared/help/dropdown_items/_messagerie_item.html.haml @@ -2,5 +2,5 @@ = link_to messagerie_dossier_path(dossier) do %span.icon.mail .dropdown-description - %h4.help-dropdown-title= title + %span.help-dropdown-title= title %p Envoyez directement un message à l’instructeur. diff --git a/app/views/shared/help/dropdown_items/_service_item.html.haml b/app/views/shared/help/dropdown_items/_service_item.html.haml index af8624549..c57a0bada 100644 --- a/app/views/shared/help/dropdown_items/_service_item.html.haml +++ b/app/views/shared/help/dropdown_items/_service_item.html.haml @@ -1,7 +1,7 @@ %li.help-dropdown-service %span.icon.person .dropdown-description - %h4.help-dropdown-title= title + %span.help-dropdown-title= title .help-dropdown-service-action %p Contactez directement l’administration : %p.help-dropdown-service-item