Structured data · Accuracy

Schema does not match visible content

The byline on this page names one author, but the Article structured data names another, which breaks Google's structured data guidelines.

How this page is built

Written by Sam Example

The visible byline above names Sam Example as the author. The Article block in the head names the site, techseotests.com, as the author instead. Both are valid on their own, so validators pass the page, but they do not agree.

Why it matters

Google’s guidelines say structured data must describe what visitors can see. Prices, ratings, stock levels, authors and dates in the markup must match the page. When they do not, the page can lose its rich results, and repeated or deliberate mismatches can lead to a manual action for spammy structured data.

Mismatches are rarely deliberate. They usually happen when the markup comes from one data source and the visible page from another, or when one is updated and the other is not.

How to check it

Validators only check that the markup is well formed, so they pass this page. To find the fault, read the markup and the page side by side. Some crawl tools can extract a property from the markup and a value from the page with custom extraction, so you can compare them in a spreadsheet.

Here, compare the author name in the Article block with the byline above the image.

How to fix it

Build the markup and the visible page from the same data, so a change to one is always a change to the other. Then spot check a sample of pages after every template change.

Back to all tests