Update the rating request text in the footer to be friendlier for screen reader users
This commit is contained in:
parent
9b9e31500f
commit
b066922c40
|
@ -258,7 +258,7 @@ class WC_Admin {
|
|||
/* translators: 1: WooCommerce 2:: five stars */
|
||||
__( 'If you like %1$s please leave us a %2$s rating. A huge thanks in advance!', 'woocommerce' ),
|
||||
sprintf( '<strong>%s</strong>', esc_html__( 'WooCommerce', 'woocommerce' ) ),
|
||||
'<a href="https://wordpress.org/support/plugin/woocommerce/reviews?rate=5#new-post" target="_blank" class="wc-rating-link" data-rated="' . esc_attr__( 'Thanks :)', 'woocommerce' ) . '">★★★★★</a>'
|
||||
'<a href="https://wordpress.org/support/plugin/woocommerce/reviews?rate=5#new-post" target="_blank" class="wc-rating-link" aria-label="' . esc_attr__( 'five star', 'woocommerce' ) . '" data-rated="' . esc_attr__( 'Thanks :)', 'woocommerce' ) . '">★★★★★</a>'
|
||||
);
|
||||
wc_enqueue_js(
|
||||
"jQuery( 'a.wc-rating-link' ).click( function() {
|
||||
|
|
Loading…
Reference in New Issue