Skip to content

test(rules): keyword-stuffing plain-div menu shape and its documented cost #1315 - #1395

Closed
nc9 wants to merge 2 commits into
mainfrom
test/keyword-stuffing-div-menu-1315
Closed

nc9 wants to merge 2 commits into
mainfrom
test/keyword-stuffing-div-menu-1315

Conversation

@nc9

@nc9 nc9 commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Refs #1315 (criteria 3 and 5)

Test and docs only. The issue's shape (20 plain div links repeating one category word, under 100 words of copy) is a case the rule counts on purpose: a keyword spammer writes the same links, so a menu needs a real signal (role, aria-haspopup, aria-expanded), and a shared word makes a keyword cloud even with one. The test pins both sides (counted without a signal, counted as a cloud with one, left out with a signal and varied categories); the docs line now says it in these terms. Criterion 3 is restated in the issue to this accepted cost.

Skill change: none.

nik

nc9 added 2 commits October 31, 2026 10:59
…counts; fails if hasMenuSignal is always true #1315

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9 nc9 mentioned this pull request Oct 31, 2026
@nc9

nc9 commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Landed in v0.0.148 as 21b0a0c5 dcbb46f4 via #1427. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.148. Closing this original.

nik

@nc9 nc9 closed this Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant