File tree 1 file changed +13
-2
lines changed
app/code/Magento/Theme/view/frontend/templates/html
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 7
7
/**
8
8
* Pager template
9
9
*
10
- * @see \Magento\Theme\Block\Html\Pager
10
+ * @var \Magento\Theme\Block\Html\Pager $block
11
+ * @var \Magento\Framework\Escaper $escaper
11
12
*/
12
13
?>
13
14
<?php if ($ block ->getCollection ()->getSize ()): ?>
61
62
<li class="item">
62
63
<a class="page previous jump"
63
64
title=""
65
+ aria-label="<?= $ escaper ->escapeHtmlAttr (__ (
66
+ 'Skip to page %1 ' ,
67
+ $ block ->getPreviousJumpPage ()
68
+ )) ?> "
64
69
href="<?= $ block ->escapeUrl ($ block ->getPreviousJumpUrl ()) ?> ">
65
70
<span>...</span>
66
71
</a>
87
92
88
93
<?php if ($ block ->canShowNextJump ()): ?>
89
94
<li class="item">
90
- <a class="page next jump" title="" href="<?= $ block ->escapeUrl ($ block ->getNextJumpUrl ()) ?> ">
95
+ <a class="page next jump"
96
+ title=""
97
+ aria-label="<?= $ escaper ->escapeHtmlAttr (__ (
98
+ 'Skip to page %1 ' ,
99
+ $ block ->getNextJumpPage ()
100
+ )) ?> "
101
+ href="<?= $ block ->escapeUrl ($ block ->getNextJumpUrl ()) ?> ">
91
102
<span>...</span>
92
103
</a>
93
104
</li>
You can’t perform that action at this time.
0 commit comments