WordPress.org

Support

Support » Plugins and Hacks » [Resolved] W3 Invalid Markup

[Resolved] W3 Invalid Markup

  • Luca1980

    @luca1980

    Hi,

    really love your plugin! However when I scan my site for HTML errors the twitter feed creates the following errors:

    “An img element must have an alt attribute, except under certain conditions.”

    Is there anything I can do to prevent this?

    Cheers!
    Luca

    http://wordpress.org/plugins/feed-them-social/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author slickremix

    @slickremix

    Thanks for taking the time to comment!

    Alt tags have been a big debate over that last few years. Although some companies may find that an error it is really not. Especially if the alt tag text has nothing but jibberish. As in the case of twitter profile images, they do not have a specific detailed name so we decided to omit it.

    Sorta like going to w3c and running a check on html5, you’re bound to get a bunch of error and or warning about other areas of your site.

    If you look at twitter and view the source for the little profile thumbs you will see they have the alt tag in their, but they do not have any text in their. SO it is basically useless markup as we see it.

    Luca1980

    @luca1980

    Thanks for your quick reply! I agree that alt tags tend to be useless, however I only hope google thinks the same way and it won’t affect SEO..

    Cheers
    Luca

    Plugin Author slickremix

    @slickremix

    No problem! As I understand it SEO works in part by taking relative information from elements on the page. In this case, as mentioned above, Twitter does not supply any alt information for the thumbnails of profiles. When they do if the content is relative we will surely add it as well to FTS 🙂

    If you haven’t already and when you have a moment please drop us a review please.
    http://wordpress.org/support/view/plugin-reviews/feed-them-social#postform

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] W3 Invalid Markup’ is closed to new replies.