HTML5 Validation Errors
-
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,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘HTML5 Validation Errors’ is closed to new replies.