Skip to content

Commit

Permalink
Update Pagination for HTML5 compliance
Browse files Browse the repository at this point in the history
- [Changed] Removed navigation role from nav element as per HTML5 standards

Signed-off-by: Beda Schmid <beda@tukutoi.com>
  • Loading branch information
smileBeda authored Nov 8, 2023
1 parent cc2f622 commit 4f89354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function bootscore_pagination($pages = '', $range = 2) {
}

if (1 != $pages) {
echo '<nav aria-label="Page navigation" role="navigation">';
echo '<nav aria-label="Page navigation">';
echo '<span class="visually-hidden">' . esc_html__('Page navigation', 'bootscore') . '</span>';
echo '<ul class="pagination justify-content-center mb-4">';

Expand Down

0 comments on commit 4f89354

Please sign in to comment.