Skip to content

Page content audit rules

View as Markdown

Sonjoo groups 27 checks under Page content (content). Select this category with sonjoo audit <url> --categories content, or pass the category ID in an HTTP audit request.

This category has weight 5 in the overall audit score when it has scored results. Sonjoo normalizes category weights over the categories with scored results.

All audit categories · Rule settings and interpretation

Count Unicode words in collected main prose, excluding navigation, headers, footers and hidden markup; classify length with Sonjoo’s editorial heuristic.

Inputs. HTML source was collected.

Evidence. Measured word count and threshold classification.

Base scoring weight 4 when measured.

Use the Flesch Reading Ease estimate only for explicitly English text and adequate samples.

Inputs. HTML source was collected.

Evidence. Language/word and sentence counts, formula score and recommendation.

Base scoring weight 3 when measured.

Flag unexpectedly concentrated terms in sufficient content samples after excluding stopwords and obvious network strings. Keep findings editorial.

Inputs. HTML source was collected.

Evidence. Eligible sample size, word count/density, and offender sample.

Base scoring weight 5 when measured.

Measure links per 100 main-text words, excluding navigation and non-HTTP mechanisms. Compare with editorial policy.

Inputs. HTML source was collected.

Evidence. Word count, internal/external counts, density and recommendation.

Base scoring weight 4 when measured.

Identify the configured HTML structural and accessible-name issues in the parsed document. Permitted flow-content anchors and authored placeholder anchors are not structural violations.

Inputs. HTML source was collected.

Evidence. Issue count, concrete issue types, implicated elements.

Base scoring weight 4 when measured.

Detect document-level metadata in body, while allowing structured-data property metadata and excluding SVG title names.

Inputs. HTML source was collected.

Evidence. Exact tag type and offending value.

Base scoring weight 8 when measured.

Check that HTML responses declare text/html or application/xhtml+xml, give priority to transport charset, and use an early HTML declaration when transport omits it.

Inputs. HTML source was collected.

Evidence. Declared media type and encoding source.

Base scoring weight 5 when measured.

Compare normalized descriptions of eligible pages in a crawl and warn on duplication or insufficient description length.

Inputs. HTML source was collected.

Evidence. Duplicate URL, count, and description length.

Base scoring weight 5 when measured. Has configurable thresholds or options.

Report missing headings or jumps when descending through heading levels, allowing return to peer or ancestor levels.

Inputs. HTML source was collected.

Evidence. Heading count, heading sequence and exact skipped level.

Base scoring weight 1 when measured.

Report nonempty headings with Sonjoo length below 10 or above 70 UTF-16 code units.

Inputs. HTML source was collected.

Evidence. Actual heading length and configured thresholds.

Base scoring weight 1 when measured.

Find duplicate non-empty heading text in a document, ignoring case.

Inputs. HTML source was collected.

Evidence. Count, duplicate normalized text and involved levels.

Base scoring weight 1 when measured.

Measure the collected document’s text/HTML UTF-16-unit ratio and compare against local content-to-markup heuristics.

Inputs. HTML source was collected.

Evidence. Text and HTML lengths, measured percentage and threshold classification.

Base scoring weight 7 when measured.

Compare normalized page title and first document H1; warn on identical content according to Sonjoo’s editorial policy.

Inputs. HTML source was collected.

Evidence. Both authored inputs and duplicate status for title versus first document H1.

Base scoring weight 6 when measured.

Compare normalized page title and meta description; warn on identical content according to Sonjoo’s editorial policy.

Inputs. HTML source was collected.

Evidence. Both authored inputs and duplicate status for title versus meta description.

Base scoring weight 4 when measured.

Estimate title display width using a fixed character-interpolation model and report local thresholds, without promising any search-engine presentation.

Inputs. HTML source was collected.

Evidence. Measured estimate, character count and 580/620px Sonjoo thresholds.

Base scoring weight 7 when measured.

Estimate description display width using a fixed character-interpolation model and report local thresholds, without promising any search-engine presentation.

Inputs. HTML source was collected.

Evidence. Measured estimate, character count and 920/990px Sonjoo thresholds.

Base scoring weight 6 when measured.

Detect exact normalized visible-body equality across eligible crawled pages; do not label a tiny placeholder sample duplicate.

Inputs. HTML source was collected.

Evidence. Matched URLs, count and why a short page is skipped.

Base scoring weight 8 when measured. Has configurable thresholds or options.

Inspect near duplicate candidates using set similarity and effective thresholds. Require a corpus and apply strict greater-than thresholds.

Inputs. HTML source was collected.

Evidence. Highest similarity, thresholds, and affected URL.

Base scoring weight 7 when measured. Has configurable thresholds or options.

Compare the first H1 text of eligible pages across a crawl, reporting exact duplicates under Sonjoo’s editorial policy.

Inputs. HTML source was collected.

Evidence. First H1, affected URLs, peer count and reason when absent.

Base scoring weight 5 when measured. Has configurable thresholds or options.

Detect recognizable encoding-corruption sequences in visible prose, excluding code examples, scripts and non-prose containers.

Inputs. HTML source was collected.

Evidence. Exact suspected corruption samples.

Base scoring weight 8 when measured.

Detect common Markdown delimiters shipping literally in visible prose and ignore samples intentionally marked as code.

Inputs. HTML source was collected.

Evidence. Matched literal snippet and remediation.

Base scoring weight 6 when measured.

Find unexpanded template tokens and unremoved TODO/FIXME author notes in authored prose; exclude code examples.

Inputs. HTML source was collected.

Evidence. Exact template or author-note samples.

Base scoring weight 8 when measured.

Compare authored footer copyright years or ranges against the clock used for the audit.

Inputs. HTML source was collected.

Evidence. Current year and collected last year of each notice.

Base scoring weight 2 when measured.

Compare years of authored publication signals from structured data, time elements and date-shaped URL segments.

Inputs. HTML source was collected.

Evidence. Source/year pairs and conflicting relationship.

Base scoring weight 5 when measured.

Identify long body text hidden by recognized inline CSS declarations, excluding expected accessibility and overlay components.

Inputs. HTML source was collected.

Evidence. Text sample and corrective suggestion.

Base scoring weight 6 when measured.

Compare body length to the median for a same-kind crawl cohort. Warn if the measured page is shorter than half the median.

Inputs. HTML source was collected.

Evidence. Cohort kind, measured length, median or sample count.

Base scoring weight 4 when measured.

Infer a recurring title suffix across a sufficient titled crawl and flag a measured title that diverges.

Inputs. HTML source was collected.

Evidence. Inferred suffix, titled sample size and affected title.

Base scoring weight 3 when measured.