improves headings and outline structure

This commit is contained in:
Alberto Garcia Cabeza
2016-12-05 17:02:42 +01:00
parent ae12848e23
commit 3b2fe1e184
12 changed files with 19 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
<%= paginator.render do -%>
<div class="pagination-centered">
<nav>
<h1 class="sr-only"><%= t("shared.outline.pagination") %></h1>
<h2 class="sr-only"><%= t("shared.outline.pagination") %></h2>
<ul class="pagination text-center margin-top" aria-label="Pagination">
<%= first_page_tag unless current_page.first? %>
<%= prev_page_tag unless current_page.first? %>