Title: HTML5 Validation Errors
Last modified: August 24, 2016

---

# HTML5 Validation Errors

 *  Resolved [markkelly1982](https://wordpress.org/support/users/markkelly1982/)
 * (@markkelly1982)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/html5-validation-errors-2/)
 * Hi there,
 * The LinkedIn Card Widget returns HTML5 validation errors. The errors are related
   to the following:
 * – The profile image not having an ALT tag
    – The profile image using ‘px’ in 
   the width value being outputted.
 * I hacked the code in wp-linkedin/templates/card.php to get a valid markup but
   wondered if you can release a fix in your next version. My hack is as follows:
 * >  <img class=”picture alignleft” src=”<?php echo $profile->pictureUrl; ?>” width
   > =”<?php echo $picture_width; ?>” alt=”<?php echo $profile->firstName; ?> <?
   > php echo $profile->lastName; ?>”>
 * Thanks,
 * Mark
    [https://wordpress.org/plugins/wp-linkedin/](https://wordpress.org/plugins/wp-linkedin/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Claude Vedovini](https://wordpress.org/support/users/cvedovini/)
 * (@cvedovini)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/html5-validation-errors-2/#post-6017057)
 * I will include the change in the next release, thanks

Viewing 1 replies (of 1 total)

The topic ‘HTML5 Validation Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-linkedin_dddbdc.svg)
 * [WP LinkedIn](https://wordpress.org/plugins/wp-linkedin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-linkedin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-linkedin/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-linkedin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-linkedin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-linkedin/reviews/)

## Tags

 * [HTML5 Validation](https://wordpress.org/support/topic-tag/html5-validation/)

 * 1 reply
 * 2 participants
 * Last reply from: [Claude Vedovini](https://wordpress.org/support/users/cvedovini/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/html5-validation-errors-2/#post-6017057)
 * Status: resolved