From eaea4e9fee7e70c6df4db5b749fbe94937bbd35c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 20 Mar 2016 09:34:26 +0000 Subject: Improve accessibility for icon-only links by adding hidden text (#21805). Patch by Daniel Ritz. git-svn-id: http://svn.redmine.org/redmine/trunk@15271 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/settings/_repositories.html.erb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'app/views/settings') diff --git a/app/views/settings/_repositories.html.erb b/app/views/settings/_repositories.html.erb index b2c001a9b..760903ea0 100644 --- a/app/views/settings/_repositories.html.erb +++ b/app/views/settings/_repositories.html.erb @@ -118,8 +118,9 @@ ) %> - <%= link_to('', '#', - :class => 'delete-commit-keywords icon-only icon-del') %> + <%= link_to(l(:button_delete), '#', + :class => 'delete-commit-keywords icon-only icon-del', + :title => l(:button_delete)) %> <% end %> @@ -129,8 +130,9 @@ - <%= link_to('', '#', - :class => 'add-commit-keywords icon-only icon-add') %> + <%= link_to(l(:button_add), '#', + :class => 'add-commit-keywords icon-only icon-add', + :title => l(:button_add)) %> -- cgit v1.2.3