Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Steve M

    (@wpsmort)

    That is valid markup for Google but the W3C validator doesn’t like it. If you want to remove it then there is an option for Use Schema.org Markup under All in One SEO, General Settings.

    Thread Starter Guido Scialfa

    (@wido)

    Hi wpsmort,

    Thanks for the answer, I’m little confused about the fact that google allow the itemprop where the specs say that is not standard.

    Anyway, I’ll remove it from the options.

    Thanks again.

    Plugin Support Steve M

    (@wpsmort)

    From what I’ve read, the W3C Validator has not been updated to support Schema.org and RDP markup

    Thread Starter Guido Scialfa

    (@wido)

    Uhm, within the body there are no problem with validation, I mean, if i use the correct structure itemscope > itemprop etc…,

    Let me give you an example.

    <!DOCTYPE html>
    <html>
    
    <head>
    <meta charset="UTF-8" /><!-- <meta charset="utf8" /> -->
    
    <title>A Schema.org document</title>
    </head>
    
    <body>
    <div itemscope itemtype ="https://schema.org/Movie">
      <h1 itemprop="name">Avatar</h1>
      <span>Director: <span itemprop="director">James Cameron</span> (born August 16, 1954)</span>
      <span itemprop="genre">Science fiction</span>
      <a href="../movies/avatar-theatrical-trailer.html" itemprop="trailer">Trailer</a>
    </div>
    
    </body>
    
    </html>

    That markup doesn’t validate if the itemscope is missed.

    Validation Response

    Line 11, Column 41: The itemtype attribute must not be specified on elements that do not have an itemscope attribute specified.
    
    <div itemtype ="https://schema.org/Movie">

    does this not mean that the schema.org is supported? Sorry me to bother you, it’is just to understand.

    Plugin Support Steve M

    (@wpsmort)

    I’m not an HTML expert but this is an ongoing argument between HTML experts online about whether there should be support for Schema.org markup in the validator. All I can tell you is that we develop an SEO plugin and we ensure that the Schema.org markup we add complies with Google’s rules because we care about Google and making sure we comply with what they want.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Validation Issue’ is closed to new replies.