meta error meta/title

Title Tag SEO Rule

Check that every page has a properly formatted title tag with optimal length for search engines

What This Rule Checks

Validates that each page has exactly one <title> tag with appropriate length (30-60 characters for desktop, under 50 for mobile). Detects missing, empty, or duplicate title tags.

Why It Matters for SEO & GEO

The title tag is the most important on-page SEO element. It appears in search results, browser tabs, and social shares. An optimized title improves click-through rates and search visibility.

How to Fix

Add a unique, descriptive <title> tag to every page. Keep it between 30-60 characters. Include your target keyword near the beginning. Avoid duplicate titles across pages.

Examples

Bad

<title>Home</title>

Good

<title>VibeLinter - Modern SEO Compliance CLI Tool for Developers</title>

How VibeLinter Checks Title Tags

VibeLinter’s meta/title rule performs these checks on every page:

  1. Existence — Ensures a <title> tag is present in the HTML document
  2. Uniqueness — Flags multiple <title> tags on the same page
  3. Empty check — Reports empty <title> tags as errors
  4. Length validation — Warns if the title is shorter than 30 characters or longer than 60 characters
  5. Mobile optimization — Issues an info-level alert when titles exceed 50 characters (may be truncated on mobile SERPs)

Configuration

// vibelinter.config.cjs
module.exports = {
  rules: {
    'meta/title': {
      enabled: true,
      severity: 'error',
      minLength: 30,
      maxLength: 60,
      maxLengthMobile: 50
    }
  }
}

SEO Impact

A well-crafted title tag directly influences:

  • Search rankings — Google uses the title as a ranking signal
  • Click-through rate (CTR) — Compelling titles drive more clicks from SERPs
  • Social sharing — The title appears when users share your URL
  • GEO (Generative Engine Optimization) — AI models reference title tags when generating answers about your content, making accurate titles essential for visibility in AI-powered search

Related SEO Topics

title tag SEOHTML title optimizationmeta title lengthpage title best practicesSEO title checkertitle tag character limit

Related Rules

References