[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:
Ames Plant 2024-08-01 22:22:23 -05:00 committed by GitHub
parent ef85173041
commit 2eff30de04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Add a label to the product pagination for the woocommerce pagination

View File

@ -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(