replace title html attribute with aria-label

This commit is contained in:
Siddharth Thevaril 2023-04-19 12:28:40 +05:30
parent caf20d7989
commit 4c7b858268
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ $label = ! empty( $args['product_name'] ) ? sprintf( esc_html__( '%s quantity',
class="<?php echo esc_attr( join( ' ', (array) $classes ) ); ?>"
name="<?php echo esc_attr( $input_name ); ?>"
value="<?php echo esc_attr( $input_value ); ?>"
title="<?php echo esc_attr_x( 'Qty', 'Product quantity input tooltip', 'woocommerce' ); ?>"
aria-label="<?php echo esc_attr_e( 'Product quantity', 'woocommerce' ); ?>"
size="4"
min="<?php echo esc_attr( $min_value ); ?>"
max="<?php echo esc_attr( 0 < $max_value ? $max_value : '' ); ?>"