Add screen reader text to remove item icon (https://github.com/woocommerce/woocommerce-blocks/pull/2285)
This commit is contained in:
parent
96e8ccf1a4
commit
72c7b38022
|
@ -129,6 +129,9 @@ const CartLineItemRow = ( { lineItem } ) => {
|
|||
className="wc-block-cart-item__remove-icon"
|
||||
onClick={ removeItem }
|
||||
>
|
||||
<span className="screen-reader-text">
|
||||
{ __( 'Remove item', 'woo-gutenberg-products-block' ) }
|
||||
</span>
|
||||
<Icon srcElement={ trash } />
|
||||
</button>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue