Pledge Form: Use slightly more screen reader friendly link text

This commit is contained in:
Kelly Dwan 2019-10-28 20:10:53 -04:00
parent aa8b1838cd
commit 310a6876de
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D

View file

@ -16,7 +16,7 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
<label for="5ftf-pledge-agreement"> <label for="5ftf-pledge-agreement">
<?php <?php
printf( printf(
wp_kses_post( __( 'I understand and agree to the <a href="%s">expectations</a> for inclusion in the Five for the Future acknowledgement program.', 'wporg-5ftf' ) ), wp_kses_post( __( 'I understand and agree to the <a href="%s">expectations for inclusion</a> in the Five for the Future acknowledgement program.', 'wporg-5ftf' ) ),
esc_url( get_permalink( get_page_by_path( 'expectations' ) ) ) // TODO Change this URL? esc_url( get_permalink( get_page_by_path( 'expectations' ) ) ) // TODO Change this URL?
); );
?> ?>