Skip to content

Commit

Permalink
add aria-live=polite and aria-atomic=true to sortitions H2
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Feb 17, 2025
1 parent 15355e7 commit 725b120
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if @sortitions.any? %>
<h2 class="h5 md:h3 decorator"><%= t("count", scope: "decidim.sortitions.sortitions.sortitions_count", count: @sortitions.total_count) %></h2>
<h2 class="h5 md:h3 decorator" aria-live="polite" aria-atomic="true"><%= t("count", scope: "decidim.sortitions.sortitions.sortitions_count", count: @sortitions.total_count) %></h2>

<%= order_selector available_orders, i18n_scope: "decidim.sortitions.sortitions.orders" %>

Expand Down

0 comments on commit 725b120

Please sign in to comment.