• Rokyt Nice

    (@rokyt-nice)


    Hello folks,
    thanks a lot for this nice plugin. REally appreciate.
    I have an issue when validating my page for HTML errors, I get three errors.
    It says:

    #1:

    Element div not allowed as child of element span in this context. (Suppressing further errors from this subtree.)

    ocated at <div property=”address” typeof=”PostalAddress”><span

    #2:

    Bad value for attribute src on element img: Must be non-empty.

    an>.</div><img property=”logo” src=”” />Phone:

    #3:

    An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

    an>.</div><img property=”logo” src=”” />Phone:

    I think I found the code for that in

    gsas_schema_for_organisation.php

    Now, I can see that there is a div from row 24 to row 31 INSIDE a span (row 21 to row 38). I am not so familiar with coding but is there a workaround or doesnt it matter for anything?

    Is this maybe also the reason why I get the other two errors for the whole logo thing, which is located in rows 32 and 33?

    I could add an alt to row 33 but again, I dont want to screw anything up here.

    Kindest regards for your help and I am looking forward to an answer.

    Adam

    https://www.ads-software.com/plugins/google-seo-author-snippets/

  • The topic ‘W3C Validation problem’ is closed to new replies.