description.content.length
- Default
- warn
- Options
{"min":50,"max":160}- Plugin
description
The description length is within a range of characters.
Why: Search results cut off long descriptions to fit the screen, at about 155 to 160 characters, and short descriptions say little about the page.
The rule warns, and does not fail. Google sets no limit on the length of a description, and cuts it as needed.
When off: descriptions of any length pass.
| Option | Type | Default | Description |
|---|---|---|---|
min |
number |
50 |
The fewest characters allowed. |
max |
number |
160 |
The most characters allowed. |
<!-- ✗ Fails -->
<meta name="description" content="Our bakery." />
<!-- ✓ Passes -->
<meta
name="description"
content="Bongo Bakery bakes fresh bread, buns, and pastries every morning in the heart of town."
/>
rules: { "description.content.length": { min: 70, max: 155 } }
References
- Google: Snippets: Google sets no length limit, and cuts descriptions to fit the device, so the rule warns.