Skip to content

content/keyword-stuffing: card microcopy, teaser and menu terms still warn on a real shop (#1315 residual) #1441

Closed

Description

@nc9

Summary

Residual of #1315 (content/keyword-stuffing). Every criterion written there is met and tested, but a reporter re-checked v0.0.147 on a real German and English shop and it still warns on 14 of 30 pages (17 on v0.0.141). The remaining terms come from repeated card and teaser microcopy and a mega menu, not from the pages' copy:

  • abonnement (5.2 %, five category pages): newsletter teaser text.
  • bewertung (3.7 %) on the women's and men's category pages: per-card rating text.
  • average and costs (3.4 % and 4.9 %) on the English category pages: rating and shipping-cost microcopy repeated per card.
  • bademode (4.3 %) on the contact and imprint pages: category names of a menu with no landmark or menu signal, on pages whose main copy is under 100 words.

No criterion or test covers the combination, so the issue stays open. Per the decision on #1315, a plain div menu with one shared word across many links still flags by design (hidden stuffing looks the same); this issue is about whether the rule can tell repeated per-card and teaser microcopy apart without giving that up.

Acceptance Criteria

  • A synthetic fixture shaped like the reported pages exists as a test: a category page with about 24 product cards each repeating a rating sentence and an installment or shipping note, plus a newsletter teaser, in de and en; it must not produce a keyword-stuffing finding.
  • A synthetic contact page with under 100 words of copy and a menu of about 20 category links in plain divs (no role, no aria-*) is covered by a test that states the expected result (flagged, or not) and the reason, so the documented trade-off is pinned on a short page too.
  • Words that come only from text repeated once per card (same sentence shape across 5 or more sibling cards) do not count toward density, for both languages in the fixture, including abonnement, bewertung, average and costs.
  • The true-positive tests still pass: 24 keyword links in a bare div, and a stuffed paragraph, are flagged.
  • Running the real command from the report on a local copy of the pages' shape (no third-party site is audited for the test) lowers the warned page count, with the fixture result recorded in the PR.
  • docs/ rule page for the rule states what is and is not counted; make validate passes in docs/.

Activity

  1. added
    bug
    size: M
    rules
    on Oct 31, 2026
  2. added theissue type on Oct 31, 2026
  3. nc9 commented on Nov 1, 2026

    @nc9
    ContributorAuthor

    Findings from a synthetic reproduction (no third-party site audited; German and English cards, a teaser and a contact-page menu built to the shapes in this issue). Pinned as tests in #1486; the issue stays open for the decision below.

    • A product grid next to ordinary copy is clean (12 German or 6 English cards beside 400 words, and 24 cards in a 700-word page).
    • A card-dominated category page (24 cards, about 60 words of copy) IS flagged. Two documented limits decide it: card text is deducted only when it varies between cards (the rating sentence does, the shipping note "Shipping costs from $4.90" does not, so shipping and costs are flagged while average is not), and the total deduction is capped at 20% of the page's words, which a page made mostly of cards exceeds (the German rating words bewertung, durchschnittliche, sternen flag).
    • A newsletter teaser is copy: six uses of one word in a form teaser beside 120 words flag it. Under 100 words in total the rule reports "content too short" and flags nothing, so the reported abonnement pages need more copy than my teaser case to reproduce.
    • A menu of plain div links on a contact page: varied category words are clean; links sharing one category word are flagged by design (a spammer writes the same plain links); a role="menubar" leaves varied links out but not shared-word ones.

    The cheapest relaxation, if the product call is to loosen: deduct identical price- or rating-shaped text repeated across at least 5 parents (today an identical price is never deducted), and let the 20% cap rise on large grids (for example to 60% with 12 or more card parents). Both loosen a bound that exists because a spammer can dress a phrase as card microcopy, so the default stays as is until Nik decides.

    nik

  4. nc9 commented on Nov 11, 2026

    @nc9
    ContributorAuthor

    More evidence from the public demo site nutshop.squirrelscan.com (repo squirrelscan/nut-shop), a 73-page nut shop with ordinary copy: content/keyword-stuffing warns on 37 of 73 pages in every audit.

    The words flagged are the shop's own subject: "nuts" and "nut" at 4.5% (6 uses on a 210-word category page), "butter" at 8.3% on the nut butters category page (the product card names repeat it), "roasted" at 3.2% on a post about raw versus roasted nuts, "almonds" at 3.0% on a post about roasting almonds.

    A category page that lists eight nut butters cannot avoid the word, and an article about almonds should use it. On this site the warning is noise on half the pages, and the editor summary repeats it as "keyword stuffing on 37 pages".

    nik

  5. deniskern commented on Nov 12, 2026

    @deniskern

    Rechecked on v0.0.179 (manifest-verified binary; --http --offline --passive --disable-discovery-probes --rule-include content/keyword-stuffing -m 30, brunobanani.com): 15 warning pages, 15 passed, unchanged from v0.0.173. The fixed price/rating card lines are gone, but these classes remain:

    • Card microcopy: abonnement and preise at 5.8 % on /damen/, /damen/beauty/ and /herren/; costs, shipping, subscription, plus and prices at 5.3 % on /en/men/ and /en/women/.
    • Header menu chrome: bademode, curvy and sale at 4.7 % on /info/kontakt/ and /rechtliches/impressum/ (stored link data marks these links as header chrome).

    We keep the rule disabled without a local filter. Could you reopen this issue or track these remaining cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrulessize: M

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions