Skip to content

Commit

Permalink
Supprime les attributs title des liens explicites (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
niladic committed Mar 18, 2024
1 parent 56954ba commit f81051a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/applications/myApplications.scala
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ object myApplications {
placeholder := "Rechercher",
id := "search-input"
),
a(cls := "fr-btn", title := "Rechercher", href := "#search-column")(
a(cls := "fr-btn", href := "#search-column")(
"Rechercher"
)
)
Expand Down
5 changes: 2 additions & 3 deletions app/views/main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ object main {
aria.controls := navBarResponsiveMenuModalId,
aria.haspopup := "menu",
id := navBarResponsiveMenuModalButtonId,
title := "Menu"
)(
"Menu"
)
Expand Down Expand Up @@ -356,7 +355,6 @@ object main {
button(
cls := "fr-btn--close fr-btn",
aria.controls := navBarResponsiveMenuModalId,
title := "Fermer"
)(
"Fermer"
),
Expand All @@ -377,7 +375,6 @@ object main {
else
route.url + "?" + queryParams.mkString("&")
),
title := text,
cls := "fr-nav__link",
target := "_self",
attr("aria-current") := (if (request.path === route.url) "true" else "false")
Expand Down Expand Up @@ -408,6 +405,7 @@ object main {
a(
cls := "fr-footer__brand-link",
href := HomeController.index.url,
aria.label := "Retour à l’accueil du site - Administration+",
title := "Retour à l’accueil du site - Administration+",
img(
cls := "fr-footer__logo aplus-footer-img",
Expand Down Expand Up @@ -551,6 +549,7 @@ object main {
a(
cls := "fr-footer__top-link",
href := s"mailto:${Constants.supportEmail}",
aria.label := s"Email de contact - ${Constants.supportEmail}",
title := s"Email de contact - ${Constants.supportEmail}",
)(Constants.supportEmail)
),
Expand Down

0 comments on commit f81051a

Please sign in to comment.