📝Content Quality Checks

How Hugo evaluates your heading structure, word count, image accessibility, and text-to-HTML ratio for content quality scoring.

Hugo Team·March 4, 2026
contenth1headingsword countimagesalt texttext-to-html

Content quality directly impacts both user engagement and search rankings.[5] Hugo's content checks evaluate the structural and quantitative aspects of your page content — the elements that search engines can easily measure and use as ranking signals.

H1 Heading

Every page needs exactly one H1 heading — it's the primary topic signal for search engines.[1] Hugo checks for presence, uniqueness, and length.

H1 Tag

Good
Exactly 1, under 70 characters
Warning
Multiple H1s or >70 characters
Poor
Missing entirely
Having zero H1 tags signals to search engines that the page lacks a clear topic. Multiple H1s dilute the primary heading signal.[1]

Heading Structure

Search engines use the heading hierarchy (H1 → H2 → H3 → ...) to understand content structure.[2] Skipping levels (e.g., jumping from H1 to H3) makes it harder for crawlers to understand your content organization.

Heading Hierarchy
H1Page TitleH2Section AH2Section BH3Sub A-1H3Sub A-2H3Sub B-1
⚠️Common Mistake

Don't use heading tags for styling purposes. If you need large text, use CSS — heading tags should reflect your content hierarchy.[2]

Word Count

Word Count (words)

Good
300+ words
Warning
100–299 words
Poor
Under 100 words
Thin content (under 300 words) often struggles to rank.[5] For blog posts and informational pages, aim for 800–2000 words. Product pages may be shorter but should still be substantive.

Image Alt Text

Alt text serves dual purposes: accessibility for visually impaired users and SEO context for search engines.[3] Hugo checks what percentage of your images have meaningful alt attributes.

Alt Text Coverage (% coverage)

Good
100% of images
Warning
Some images missing alt text
Poor
0% of images (fail)
Every meaningful image should have descriptive alt text. Decorative images can use empty alt="" but should not omit the attribute entirely.[4]

Text-to-HTML Ratio

This metric compares the amount of visible text content to the total HTML code. A low ratio suggests the page is code-heavy with little actual content — often seen with framework-heavy SPAs or pages with minimal text.[6]

Text-to-HTML Ratio (%)

Good
10%+
Warning
Below 10%
While not a confirmed Google ranking factor, pages with very low text-to-HTML ratios often correlate with poor content quality.[6] Aim for 10% or higher.

References

  1. [1]W3C WAI — Page Structure: Headings — w3.org
  2. [2]MDN Web Docs — HTML heading elements — developer.mozilla.org
  3. [3]Google Search Central — Google image SEO best practices — developers.google.com
  4. [4]W3C WAI — Images Tutorial: An alt Decision Tree — w3.org
  5. [5]Google Search Central — Creating helpful, reliable, people-first content — developers.google.com
  6. [6]Google Search Central — SEO Starter Guide (Make your site useful and interesting) — developers.google.com

We value your privacy

We use localStorage to keep you signed in. No tracking cookies are set. Read our Cookie Policy and Privacy Policy for details.