Skip to content

Commit

Permalink
Add aria-label to page jump
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleybrecher committed Apr 18, 2021
1 parent f25fc03 commit 4400de6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<li class="item">
<a class="page previous jump"
title=""
aria-label="Skip to page <?= $block->escapeHtml($block->getPreviousJumpPage()) ?>"
href="<?= $block->escapeUrl($block->getPreviousJumpUrl()) ?>">
<span>...</span>
</a>
Expand All @@ -87,7 +88,10 @@

<?php if ($block->canShowNextJump()): ?>
<li class="item">
<a class="page next jump" title="" href="<?= $block->escapeUrl($block->getNextJumpUrl()) ?>">
<a class="page next jump"
title=""
aria-label="Skip to page <?= $block->escapeHtml($block->getNextJumpPage()) ?>"
href="<?= $block->escapeUrl($block->getNextJumpUrl()) ?>">
<span>...</span>
</a>
</li>
Expand Down

0 comments on commit 4400de6

Please sign in to comment.