Mobile app version of vmapp.org
Login or Join
Sent6035632

: Isn't JSON-LD a form of hiding schema/microdata? I'm adding schema data/microdata to my web pages. I see that both schema.org and Google they discourage hidden microdata via tags and hiding

@Sent6035632

Posted in: #JsonLd #Microdata #SchemaOrg #Seo

I'm adding schema data/microdata to my web pages. I see that both schema.org and Google they discourage hidden microdata via tags and hiding elements with microdata via style. I can see the reasoning behind the policy; it's liable to misleading/inaccurate/spam data vs visible content.

From schema.org/docs/gs.html#schemaorg_expected

More is better, except for hidden text. In general, the more content you mark up, the better. However, as a general rule, you should mark up only the content that is visible to people who visit the web page and not content in hidden div's or other hidden page elements.


From developers.google.com/structured-data/policies#non-visible_content_and_machine-readable_alternative

Typically Google will not display content that isn't visible to the end user. In other words, you generally shouldn't mark up content that is not visible to users.

The meta tag should not be used to hide content that is not visible to users in any form, since it might create misleading or deceptive search experience.


Using JSON-LD to define schema(s) seems to be taking trend (opinion), but isn't that a form of hidden data as well?

I guess a fast ruling for me would be that it's fine because the JSON-LD array is (supposed to be) reflective of data that's already visible on the page; it's just another format to distinguish "machine-readable" against non-machine-readable.

Still, though, it's hidden and it's reasonably not identical to live data in many cases. "Sorry I'm late; here are some flowers. I know you said to pick you up at 2016-05-12T19:30."

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Smith883

Not at all. The HTML content data is not hidden. Only its semantic descriptors. The same descriptor types and information that would equally be hidden from the viewer as attributes of the HTML elements in the microdata form. They're just in a different form as JSON-LD.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme