OGKit

Rules / meta-attribute-wrong · ruleset 2026-07

Wrong meta attribute (name vs property)

errormeta-attribute-wrong
Rule idmeta-attribute-wrong
Severityerror
CategoryRequired tags
Platformsall platforms
Needs humanno

What this is

Wrong meta attribute (name vs property). OGKit rule meta-attribute-wrong (error). The id is a public API for the docs URL and CI --disable key; do not rename it.

Search phrases that should land on this page:

  • Wrong meta attribute
  • name vs property
  • og:title with name attribute

Why it matters

Open Graph tags must use property="og:...". Using name="og:..." is a frequent copy-paste bug; Facebook's parser ignores them. Twitter tags conventionally use name=.

Which platforms are affected

All OGKit platform profiles, including major social, chat, and search crawlers that consume these tags.

Platform-specific crawler budgets and field priority live in the platform behaviour reference.

How to reproduce

  1. Check whether OG tags use `property=` and Twitter tags use `name=`.
  2. Using `name="og:title"` or `property="twitter:card"` is wrong for most crawlers.

How to fix

Change Open Graph tags to property="og:...". Prefer name="twitter:..." for Twitter cards.

Example fix:

<meta property="og:title" content="..." />
<meta name="twitter:card" content="summary_large_image" />