Merge pull request #225 from HDinger/fix/20421-sorting-arrows-are–not-pronounced-by-screen-reader

[20421] [Accessibility] Sorting arrows are not pronounced by screen reader (Costs)
pull/6827/head
Oliver Günther 9 years ago
commit 3b9f077377
  1. 6
      app/views/cost_types/_list.html.erb

@ -37,9 +37,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</colgroup>
<thead>
<tr>
<%= sort_header_tag "name", :caption => CostType.model_name.human %>
<%= sort_header_tag "unit", :caption => CostType.human_attribute_name(:unit) %>
<%= sort_header_tag "unit_plural", :caption => CostType.human_attribute_name(:unit_plural) %>
<%= sort_header_tag CostType.model_name.human, :caption => CostType.model_name.human %>
<%= sort_header_tag CostType.human_attribute_name(:unit), :caption => CostType.human_attribute_name(:unit) %>
<%= sort_header_tag CostType.human_attribute_name(:unit_plural), :caption => CostType.human_attribute_name(:unit_plural) %>
<th>
<div class="generic-table--sort-header-outer">
<div class="generic-table--sort-header">

Loading…
Cancel
Save