From 4b15da5c6bb0676357d7db01d870728a191e50af Mon Sep 17 00:00:00 2001 From: Xavier Fernandez Date: Mon, 12 Aug 2024 16:58:11 +0200 Subject: [PATCH] accessibility: always include text for copy-to-clipboard button Since the icon is aria-hidden, the button needs to have a content. --- itou/templates/includes/copy_to_clipboard.html | 2 +- tests/gps/__snapshots__/test_views.ambr | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/itou/templates/includes/copy_to_clipboard.html b/itou/templates/includes/copy_to_clipboard.html index c9381bd3bb..18db0df726 100644 --- a/itou/templates/includes/copy_to_clipboard.html +++ b/itou/templates/includes/copy_to_clipboard.html @@ -1,4 +1,4 @@ diff --git a/tests/gps/__snapshots__/test_views.ambr b/tests/gps/__snapshots__/test_views.ambr index a12b1a577f..918eb4cd80 100644 --- a/tests/gps/__snapshots__/test_views.ambr +++ b/tests/gps/__snapshots__/test_views.ambr @@ -30,7 +30,7 @@ @@ -41,7 +41,7 @@ @@ -120,7 +120,7 @@ @@ -131,7 +131,7 @@