From af743efff0411f96d1f719ccdf1553c4eb881cf5 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Thu, 6 Nov 2014 15:33:38 +0100 Subject: [PATCH] add alt text for file actions, but leave empty since text is directly next to it --- apps/files/js/fileactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 8ae0d8f1b2..38ede46beb 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -261,7 +261,7 @@ } var html = '<a href="#" class="action action-' + name.toLowerCase() + '" data-action="' + name + '">'; if (img) { - html += '<img class ="svg" src="' + img + '" />'; + html += '<img class ="svg" alt="" src="' + img + '" />'; } html += '<span> ' + actionText + '</span></a>'; -- GitLab