app/views/decidim/accountability/results/_results_leaf.html.erb in decidim-accountability-0.21.0 vs app/views/decidim/accountability/results/_results_leaf.html.erb in decidim-accountability-0.22.0
- old
+ new
@@ -1,21 +1,21 @@
<div class="title-action">
- <h2 id="results-count" class="title-action__title section-heading">
+ <h3 id="results-count" class="title-action__title section-heading">
<%= heading_leaf_level_results(total_count) %>
- </h2>
+ </h3>
</div>
<div class="row">
<div id="results" class="columns">
<div class="card card--action card--list">
<% results.each do |result| %>
<div class="card--list__item">
- <%= icon "actions", class: "card--list__icon", remove_icon_class: true %>
+ <%= icon "actions", class: "card--list__icon", role: "img", "aria-hidden": true, remove_icon_class: true %>
<%= link_to result_path(result), class: "card--list__text card__link card__link--block" do %>
- <h5 class="card--list__heading">
+ <h4 class="card--list__heading">
<%= translated_attribute(result.title) %>
- </h5>
+ </h4>
<div class="text-small card--meta">
<% if result.start_date %>
<strong><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></strong>
<span><%= result.start_date %></span>