Merge pull request #6054 from betagouv/accessible-blank-link
Améliorations d'accessibilité (icône pour les liens externes, statut d'accessibilité) (#6054)
This commit is contained in:
commit
8549d73a20
3 changed files with 12 additions and 4 deletions
|
@ -49,6 +49,11 @@ a {
|
|||
color: $blue;
|
||||
}
|
||||
|
||||
a[target="_blank"]::after {
|
||||
content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
|
||||
margin: 0 3px 0 5px;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
%li.footer-link
|
||||
= link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||
%li.footer-link
|
||||
= link_to "Accessibilité", ACCESSIBILITE_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||
= link_to ACCESSIBILITE_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" do
|
||||
Accessibilité : non conforme
|
||||
%li.footer-link
|
||||
= link_to "Disponibilité", STATUS_PAGE_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
%ul.footer-row.footer-bottom-line.footer-site-links
|
||||
%li.footer-link-accessibilite>= link_to "Accessibilité", ACCESSIBILITE_URL, target: "_blank", rel: "noopener noreferrer"
|
||||
%li.footer-link-accessibilite>
|
||||
= link_to ACCESSIBILITE_URL, target: "_blank", rel: "noopener noreferrer" do
|
||||
Accessibilité : non conforme
|
||||
%li.footer-link-cgu>= link_to "CGU", CGU_URL, target: "_blank", rel: "noopener noreferrer"
|
||||
%li.footer-link-mentions-legales>= link_to "Mentions légales", MENTIONS_LEGALES_URL, target: "_blank", rel: "noopener noreferrer"
|
||||
%li.footer-link-doc>= link_to 'Documentation', DOC_URL
|
||||
%li.footer-link-doc>= link_to 'Documentation', DOC_URL, target: "_blank", rel: "noopener noreferrer"
|
||||
%li.footer-link-contact>= contact_link "Contact technique", dossier_id: dossier&.id
|
||||
%li.footer-link-aide>= link_to 'Aide', FAQ_URL
|
||||
%li.footer-link-aide>= link_to 'Aide', FAQ_URL, target: "_blank", rel: "noopener noreferrer"
|
||||
|
|
Loading…
Reference in a new issue