Commit fdab02ae3e5 for woocommerce
commit fdab02ae3e5b3de22077de0395cf22df9573fd72
Author: Albert Juhé Lluveras <contact@albertjuhe.com>
Date: Mon Aug 3 11:31:57 2026 +0200
Add aria-label to Product Gallery Thumbnails (#67303)
* Add aria-label to Product Gallery Thumbnails
* Add changelog
* Improve label
diff --git a/plugins/woocommerce/changelog/fix-product-gallery-thumbnails-aria-label b/plugins/woocommerce/changelog/fix-product-gallery-thumbnails-aria-label
new file mode 100644
index 00000000000..05cf983e3b4
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-product-gallery-thumbnails-aria-label
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Add aria-label to Product Gallery Thumbnails
diff --git a/plugins/woocommerce/src/Blocks/BlockTypes/ProductGalleryThumbnails.php b/plugins/woocommerce/src/Blocks/BlockTypes/ProductGalleryThumbnails.php
index f3bfc3dcd41..c15b0f1871a 100644
--- a/plugins/woocommerce/src/Blocks/BlockTypes/ProductGalleryThumbnails.php
+++ b/plugins/woocommerce/src/Blocks/BlockTypes/ProductGalleryThumbnails.php
@@ -86,6 +86,7 @@ class ProductGalleryThumbnails extends AbstractBlock {
data-wp-init--init-resize-observer="callbacks.initResizeObserver"
data-wp-init--hide-ghost-overflow="callbacks.hideGhostOverflow"
data-wp-on--scroll="actions.onScroll"
+ aria-label="<?php esc_attr_e( 'Image thumbnails', 'woocommerce' ); ?>"
role="listbox">
<?php foreach ( $product_gallery_media as $index => $media ) : ?>
<?php