<%# This is copied from blacklight-5.5.3/app/views/kaminari/blacklight_compact/_paginator.html.erb
so we can add a aria-hidden="true" attribute around it. If that gets added into
Blacklight, this file can be removed -%>
<% if total_pages > 1 -%>
  <%# #render checks if total_pages > 1, so we can't put our fallback
  in here .. -%>
  <%= paginator.render do -%>
    <div aria-hidden="true" class="page_links">
      <%= prev_page_tag %> |
      <span class="page_entries">
        <%= page_entries_info %>
      </span> |
      <%= next_page_tag %>
    </div>
  <% end -%>
<% else -%>
    <div aria-hidden="true" class="page_links">
      <span class="page_entries">
        <%= page_entries_info %>
      </span>
    </div>
<% end -%>

<%# This is copied from blacklight-5.5.3/app/views/kaminari/blacklight_compact/_paginator.html.erb
so we can add a aria-hidden="true" attribute around it. If that gets added into
Blacklight, this file can be removed -%>
<% if total_pages > 1 -%>
  <%# #render checks if total_pages > 1, so we can't put our fallback
  in here .. -%>
  <%= paginator.render do -%>
    <div class="page_links">
      <%= prev_page_tag %> |
      <span class="page_entries">
        <%= page_entries_info %>
      </span> |
      <%= next_page_tag %>
    </div>
  <% end -%>
<% else -%>
    <div class="page_links">
      <span class="page_entries">
        <%= page_entries_info %>
      </span>
    </div>
<% end -%>

Remove aria-hidden from Previous, Page Count and Next pagination
Remove aria-hidden from Previous, Page Count and Next pagination

These `aria-hidden` flags were added explictly from the generated paginator. Per
our accessibility report, the elements should be readded. Likely this file can
be simply removed, in line with the comment at the top. I'm confirming that and
will follow up with a removal if appropriate.

Fixes #3083.
