From 72c7b3802254c0e69ae328c40bfa697342529daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Fri, 24 Apr 2020 15:11:14 +0200 Subject: [PATCH] Add screen reader text to remove item icon (https://github.com/woocommerce/woocommerce-blocks/pull/2285) --- .../blocks/cart-checkout/cart/full-cart/cart-line-item-row.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js b/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js index 5a1a47bb792..a00e9f808e7 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js +++ b/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js @@ -129,6 +129,9 @@ const CartLineItemRow = ( { lineItem } ) => { className="wc-block-cart-item__remove-icon" onClick={ removeItem } > + + { __( 'Remove item', 'woo-gutenberg-products-block' ) } +