headers : aria-label in print button

This commit is contained in:
Judith 2020-06-11 17:50:35 +02:00 committed by Keirua (Rebase PR Action)
parent b02f1e4c34
commit 1b7a4574e8
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
%span.dropdown.print-menu-opener
%button.button.dropdown-button.icon-only{ title: 'imprimer' }
%button.button.dropdown-button.icon-only{ title: 'imprimer', 'aria-label': 'imprimer' }
%span.icon.printer
%ul.print-menu.dropdown-content
%li

View file

@ -16,7 +16,7 @@
- if dossier.can_be_updated_by_user? && !current_page?(modifier_dossier_path(dossier))
= link_to "Modifier mon dossier", modifier_dossier_path(dossier), class: 'button accepted edit-form', 'title'=> "Vous pouvez modifier votre dossier tant qu'il n'est passé en instruction"
%span.dropdown.print-menu-opener
%button.button.dropdown-button.icon-only{ title: 'imprimer' }
%button.button.dropdown-button.icon-only{ title: 'imprimer', 'aria-label': 'imprimer' }
%span.icon.printer
%ul.print-menu.dropdown-content
%li