Skip to content

meta-description-require

A <meta name="description"> with non-blank content must be present in <head> tag.

Level: Error

  1. true: enable rule
  2. false: disable rule

The following patterns are not considered rule violations

Section titled “The following patterns are not considered rule violations”
<html><head><meta name="description" content="A description of the page"></head></html>

The following patterns are considered rule violations

Section titled “The following patterns are considered rule violations”
<!-- Missing meta description -->
<html><head></head></html>
<!-- Empty meta description content -->
<html><head><meta name="description" content=""></head></html>
<!-- Whitespace-only meta description content -->
<html><head><meta name="description" content=" "></head></html>
<!-- Meta description outside head tag -->
<html><meta name="description" content="A description"><head></head></html>