replaces sr-only class to show-for-sr

This commit is contained in:
decabeza
2017-06-13 17:51:57 +02:00
parent 300634443c
commit 3bcfaeb61a
25 changed files with 52 additions and 63 deletions

View File

@@ -9,7 +9,7 @@
class: "remove-investment-project",
method: :delete,
remote: true do %>
<span class="sr-only"><%= t('budgets.ballots.show.remove') %></span>
<span class="show-for-sr"><%= t('budgets.ballots.show.remove') %></span>
<span class="icon-x"></span>
<% end %>
<% end %>

View File

@@ -40,13 +40,13 @@
<td>
<% if investment.winner? %>
<span class="icon-check">
<span class="sr-only">
<span class="show-for-sr">
<%= t("budgets.results.accepted") %>
</span>
</span>
<% else %>
<span class="icon-x delete">
<span class="sr-only">
<span class="show-for-sr">
<%= t("budgets.results.discarded") %>
</span>
</span>