fix(6.2.1): home, for each text link with a link title (title attribute), is the content of this attribute relevant?

fix(9.2.1): add nav to footer as it is a navigation area

fix(8.9.1): sign_in, do not use %hr within %p which implicitely close the %p leading to an empty %p after that

fix(9.2.1): sign in, missing %nav element
This commit is contained in:
Martin 2022-05-30 16:50:45 +02:00 committed by mfo
parent 7cea474231
commit 422990f664
8 changed files with 153 additions and 144 deletions

View file

@ -8,6 +8,7 @@
%br
= t('.line3')
%hr
%p
%span.small-simple= t('.are_you_new', app_name: APPLICATION_NAME.gsub("-","‑")).html_safe
%br
%br

View file

@ -1,7 +1,7 @@
%footer.landing-footer{ role: 'contentinfo' }
.container
%nav{ 'aria-label': t('links.footer.nav_aria', application_name: APPLICATION_NAME) }
%ul.footer-columns
%li.footer-column
%ul.footer-logos
%li.footer-text
@ -9,7 +9,7 @@
= link_to t("links.provider.provided_by"), t("links.provider.url"), title: t("links.provider.title")
%br
%li
= link_to t("links.provider.url"), title: t("links.provider.name"), 'aria-label': t("links.provider.name") do
= link_to t("links.provider.url"), title: t("links.provider.title"), 'aria-label': t("links.provider.name") do
%span.footer-logo{ role: 'img', 'aria-label': t("links.provider.logo.alt") }
= image_tag t("links.provider.logo.src"), alt: t("links.provider.logo.alt"), width: t("links.provider.logo.width"), height: t("links.provider.logo.height"), loading: 'lazy'
= link_to t("links.footer.betagouv.url"), title: t("links.footer.betagouv.title"), 'aria-label': t("links.footer.betagouv.label") do
@ -48,3 +48,4 @@
= link_to t("links.footer.status_page.label"), t("links.footer.status_page.url"), title: t("links.footer.status_page.title"), class: "footer-link", target: "_blank", rel: "noopener noreferrer"
%li.footer-link
= link_to t("links.footer.security.label"), t("links.footer.security.url"), title: t("links.footer.security.title"), class: "footer-link", target: "_blank", rel: "noopener noreferrer"
}

View file

@ -1,3 +1,5 @@
%nav{ 'aria-label': t('links.footer.nav_aria', application_name: APPLICATION_NAME) }
%ul.footer-row.footer-bottom-line.footer-site-links
%li.footer-link-accessibilite>
= link_to t("links.footer.accessibilite.label"), t("links.footer.accessibilite.url"), title: t("links.footer.accessibilite.title"), class: "footer-link", target: "_blank", rel: "noopener noreferrer"

View file

@ -2,6 +2,7 @@
.container
- service = procedure.service
- if service.present?
%nav{ 'aria-label': t('users.procedure_footer.aria_label', procedure_name: dossier.present? ? dossier.procedure.libelle : 'la procédure en ligne') }
.footer-row.footer-columns
.footer-column
%p.footer-header= I18n.t('users.procedure_footer.managed_by.header')

View file

@ -11,9 +11,10 @@ en:
title: "Direction Interministérielle au Numérique"
url: "https://numerique.gouv.fr"
footer:
nav_aria: "More about %{application_name}"
accessibilite:
label: "Accessibility: partially compliant"
title: "Accessibility: partially compliant"
title: "Accessibility declaration"
url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite"
aide:
label: "Help"
@ -29,7 +30,7 @@ en:
url: "https://beta.gouv.fr"
code:
label: "Source code"
title: "Source code"
title: "Our Source code is open source"
url: "https://github.com/betagouv/demarches-simplifiees.fr"
cgu:
label: "ToS"
@ -37,17 +38,17 @@ en:
url: "https://doc.demarches-simplifiees.fr/cgu"
contact:
label: "Contact"
title: "Contact"
title: "Contact us"
contact_technique:
label: "Technical contact"
title: "Technical contact"
title: "Technical contact for bug report or security feedback"
doc:
label: "Documentation"
title: "Documentation"
title: "Our Documentation"
url: "https://doc.demarches-simplifiees.fr"
doc_nouveautes:
label: "News"
title: "News"
title: "Our latest News"
url: "https://doc.demarches-simplifiees.fr/nouveautes"
faq:
label: "FAQ"
@ -59,33 +60,33 @@ en:
url: "https:///faq.demarches-simplifiees.fr/collection/1-administrateur-creation-dun-formulaire"
mentions_legales:
label: "Legal notices"
title: "Legal notices"
title: "Legal notices regarding our platform"
url: "https://doc.demarches-simplifiees.fr/mentions-legales"
newsletter:
label: "Newsletter"
title: "Notre newsletter"
title: "Our newsletter"
url: "https://my.sendinblue.com/users/subscribe/js_id/3s2q1/id/1"
releases:
label: "Releases"
title: "Releases"
title: "Our last updates"
url: "https://github.com/betagouv/demarches-simplifiees.fr/releases"
security:
label: "Security"
title: "Security"
title: "Security policy"
url: "https://github.com/betagouv/demarches-simplifiees.fr/blob/main/SECURITY.md"
stats:
label: "Statistics"
title: "Statistics"
title: "Statistics about demarches-simplifiees"
status_page:
label: "Disponibility"
title: "Disponibility"
title: "Disponibility and availability"
url: "https://status.demarches-simplifiees.fr"
suivi:
label: "Audience tracking and privacy"
title: "Audience tracking and privacy"
title: "Tracking and privacy of demarches-simplifiees"
webinaire:
label: "Online workshop registration"
title: "Online workshop registration"
title: "Registration for our online workshop"
url: "https://app.livestorm.co/demarches-simplifiees"
solidarite_numerique:
label: "Do you need assistance with your digital file?"

View file

@ -11,9 +11,10 @@ fr:
title: "Direction Interministérielle au Numérique"
url: "https://numerique.gouv.fr"
footer:
nav_aria: "En savoir plus sur %{application_name}"
accessibilite:
label: "Accessibilité : partiellement conforme"
title: "Accessibilité : partiellement conforme"
title: "Consulter notre déclaration d'accessibilité"
url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite"
aide:
label: "Aide"
@ -21,7 +22,7 @@ fr:
url: "https://faq.demarches-simplifiees.fr"
api_doc:
label: "Documentation de l'API"
title: "Documentation de l'API"
title: "Documentation graphql de l'API"
url: "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/graphql"
betagouv:
label: "Beta.gouv.fr"
@ -33,21 +34,21 @@ fr:
url: "https://doc.demarches-simplifiees.fr/cgu"
code:
label: "Code source"
title: "Code source"
title: "Le code ouvert de demarches-simplifiees"
url: "https://github.com/betagouv/demarches-simplifiees.fr"
contact:
label: "Contact"
title: "Contact"
title: "Nous contacter"
contact_technique:
label: "Contact technique"
title: "Contact technique"
title: "Contacter notre équipe technique"
doc:
label: "Documentation"
title: "Documentation"
title: "Documentation utilisateur"
url: "https://doc.demarches-simplifiees.fr"
doc_nouveautes:
label: "Nouveautés"
title: "Nouveautés"
title: "Les dernière nouveautés"
url: "https://doc.demarches-simplifiees.fr/nouveautes"
faq:
label: "FAQ"
@ -59,30 +60,30 @@ fr:
url: "https:///faq.demarches-simplifiees.fr/collection/1-administrateur-creation-dun-formulaire"
mentions_legales:
label: "Mentions légales"
title: "Mentions légales"
title: "Consulter nos Mentions légales"
url: "https://doc.demarches-simplifiees.fr/mentions-legales"
newsletter:
label: "Newsletter"
title: "Notre newsletter"
label: "Infolettres"
title: "S'abonner a notre infolettre"
url: "https://my.sendinblue.com/users/subscribe/js_id/3s2q1/id/1"
releases:
label: "Nouveautés"
title: "Nos nouveautés"
title: "Les dernière mises à jour de la plateforme"
url: "https://github.com/betagouv/demarches-simplifiees.fr/releases"
security:
label: "Sécurité"
title: "Sécurité"
title: "Vous avez identifié une faille, comment nous en informer"
url: "https://github.com/betagouv/demarches-simplifiees.fr/blob/main/SECURITY.md"
stats:
label: "Statistiques"
title: "Statistiques"
title: "Statistiques d'usage"
status_page:
label: "Disponibilité"
title: "Disponibilité"
title: "Disponibilité du site demarches-simplifiees"
url: "https://status.demarches-simplifiees.fr"
suivi:
label: "Suivi d'audience et vie privée"
title: "Suivi d'audience et vie privée"
title: "Consulter notre politique de respect de la vie privée"
webinaire:
label: "Inscription ateliers en ligne"
title: "Inscription ateliers en ligne"

View file

@ -1,6 +1,7 @@
en:
users:
procedure_footer:
aria_label: "Know more about %{procedure_name}"
managed_by:
header: 'This procedure is managed by :'
contact:

View file

@ -1,6 +1,7 @@
fr:
users:
procedure_footer:
aria_label: "En savoir plus sur %{procedure_name}"
managed_by:
header: 'Cette démarche est gérée par :'
contact: