Rules / meta-attribute-wrong · ruleset 2026-07
Wrong meta attribute (name vs property)
| Rule id | meta-attribute-wrong |
|---|---|
| Severity | error |
| Category | Required tags |
| Platforms | all platforms |
| Needs human | no |
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 attributename vs propertyog: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
- Check whether OG tags use `property=` and Twitter tags use `name=`.
- 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" />