summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-20 09:34:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-20 09:34:26 +0000
commiteaea4e9fee7e70c6df4db5b749fbe94937bbd35c (patch)
tree2c8fff46458f1aa05d2fe6202d61319bf2024a81 /app/views/settings
parente63bf1d5970cec0e63029dd1deb36539fc844dae (diff)
downloadredmine-eaea4e9fee7e70c6df4db5b749fbe94937bbd35c.tar.gz
redmine-eaea4e9fee7e70c6df4db5b749fbe94937bbd35c.zip
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
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_repositories.html.erb10
1 files changed, 6 insertions, 4 deletions
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 @@
) %>
</td>
<td class="buttons">
- <%= 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)) %>
</td>
</tr>
<% end %>
@@ -129,8 +130,9 @@
<td></td>
<td></td>
<td class="buttons">
- <%= 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)) %>
</td>
</tr>
</tbody>