• Resolved savvageorge

    (@savvageorge)


    Hi,

    Thanks for all your work with making this great plugin. I noticed recently that I’ve been getting the following HTML error messages (See below). Do you have any ideas how I might be able to fix this? Any help would be much appreciated.

    Thanks,

    George

    ####### Error message #########
    Line 208, Column 458: Element img is missing required attribute src.

    …ns-adder/buttons/somacro/twitter.png”/><noscript><img title=”Twitter” class=”s…

    Attributes for element img:
    Global attributes
    alt
    src
    crossorigin
    usemap
    ismap
    width
    height

    https://ww.wp.xz.cn/plugins/simple-share-buttons-adder/

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

    (@davidoffneal)

    Hi George,

    What validator are you using, the src is definitely there as otherwise the images wouldn’t appear! Perhaps it would pass if the src was the first thing of the image tag.

    I’ll get that changed and release it soon!

    Thanks,

    David

    Thread Starter savvageorge

    (@savvageorge)

    Yeah seems like a bit of a strange one. Images load ok so not sure why it makes an error. I use the validator at http://validator.w3.org/ .

    Kind Regards,

    George

    Plugin Author Simple Share

    (@davidoffneal)

    Thanks for letting me know, I wondered if it may be a less official one. I’ll do what I can to ensure it passes this validation next time 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘W3C Validation Error: Element img is missing required attribute src’ is closed to new replies.