[Accessibility] Add a label to the product pagination for the woocommerce pagination (#49924)
* Add a label to the product pagination for the woocommerce pagination * Bump template version --------- Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
This commit is contained in:
parent
ef85173041
commit
2eff30de04
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Add a label to the product pagination for the woocommerce pagination
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* @see https://woocommerce.com/document/template-structure/
|
||||
* @package WooCommerce\Templates
|
||||
* @version 3.3.1
|
||||
* @version 9.3.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
|
@ -28,7 +28,7 @@ if ( $total <= 1 ) {
|
|||
return;
|
||||
}
|
||||
?>
|
||||
<nav class="woocommerce-pagination">
|
||||
<nav class="woocommerce-pagination" aria-label="<?php esc_attr_e( 'Product Pagination', 'woocommerce' ); ?>">
|
||||
<?php
|
||||
echo paginate_links(
|
||||
apply_filters(
|
||||
|
|
Loading…
Reference in New Issue