Merge pull request #21193 from woocommerce/add/21182
Add hidden, screen-reader label on address line 2 input on checkout
This commit is contained in:
commit
d6cbf78825
|
@ -662,6 +662,8 @@ class WC_Countries {
|
||||||
'priority' => 50,
|
'priority' => 50,
|
||||||
),
|
),
|
||||||
'address_2' => array(
|
'address_2' => array(
|
||||||
|
'label' => __( 'Apartment, suite, or unit.', 'woocommerce' ),
|
||||||
|
'label_class' => 'screen-reader-text',
|
||||||
'placeholder' => esc_attr( $address_2_placeholder ),
|
'placeholder' => esc_attr( $address_2_placeholder ),
|
||||||
'class' => array( 'form-row-wide', 'address-field' ),
|
'class' => array( 'form-row-wide', 'address-field' ),
|
||||||
'autocomplete' => 'address-line2',
|
'autocomplete' => 'address-line2',
|
||||||
|
|
Loading…
Reference in New Issue