Pledge Form: Improve placeholders for clarity.

* Make the usernames look more like realistic usernames.
* Add placeholders where specific formats are needed.
This commit is contained in:
Ian Dunn 2019-11-02 08:13:25 -05:00
parent f55054f56c
commit bac15d21fc
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
3 changed files with 3 additions and 1 deletions

View file

@ -13,8 +13,8 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
type="text"
id="5ftf-pledge-contributors"
name="pledge-contributors"
placeholder="sanguine.zoe206, captain-mal, kayleefixesyou"
value="<?php echo esc_attr( $data['pledge-contributors'] ); ?>"
placeholder="zoe, mal, kaylee"
required
aria-describedby="5ftf-pledge-contributors-help"
/>

View file

@ -19,6 +19,7 @@ use WP_Post;
type="email"
id="5ftf-pledge-email"
name="org-pledge-email"
placeholder="wordpress-contributors@example.com"
value="<?php echo esc_attr( $data['org-pledge-email'] ); ?>"
required
aria-describedby="5ftf-pledge-email-help"

View file

@ -41,6 +41,7 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
type="url"
id="5ftf-org-url"
name="org-url"
placeholder="https://example.com"
value="<?php echo esc_attr( $data['org-url'] ); ?>"
required
<?php echo $readonly ? 'readonly' : ''; ?>