Title: Alt Attribute &amp; Placeholders
Last modified: August 24, 2016

---

# Alt Attribute & Placeholders

 *  [goborne](https://wordpress.org/support/users/goborne/)
 * (@goborne)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/alt-attribute-placeholders/)
 * Hello,
 * I created a contact form which uses alt attributes as field information initially,
   once the user enters information into a field it swaps with the placeholder value.
 * A sample of this is like so:
 *     ```
       <div>
             <input type="text" id="contact-name" name="sender" required />
             <label alt='Your Name' placeholder='That is a nice name!' for="contact-name"></label>
       </div>
       ```
   
 * I understand there is placeholder implementation already for Contact Form 7, 
   this works as intended but it does not work for how my form is developed. Is 
   there any way to add alt text into the label so it behaves how I have the original
   html markup?
 * Currently my form ca be seen [here](http://sharyvary.com/schedule), I would like
   to basically transplant this form into Contact Form 7 as-is.
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

The topic ‘Alt Attribute & Placeholders’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [alt attribute](https://wordpress.org/support/topic-tag/alt-attribute/)

 * 0 replies
 * 1 participant
 * Last reply from: [goborne](https://wordpress.org/support/users/goborne/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/alt-attribute-placeholders/)
 * Status: not resolved