Scoring
- Rebuilt Advanced Keyword Intelligence. It now counts exact phrase matches, measures density against real word counts, and scores placement across title, description, H1, H2, the first 100 words, the slug and image alt text.
- Keyword spread is scored across the opening, middle and closing thirds. A phrase that appears only in the intro loses points even when the total count looks healthy.
- The keyword module and the keyword panel now run the same calculation, so the score and the panel can no longer disagree.
- Rebuilt Cross-Platform Optimization. It now scores mobile reading (long paragraphs, unbroken strings, wide tables, long code lines), accessibility (image alt text, H1 count, heading order, generic link text, all-caps runs), link hygiene, and media weight.
- Both modules previously returned no findings because their patterns were double-escaped. The bug is fixed and covered by fixtures.
Tests
- Expanded the test harness from ten fixtures to fourteen.
- New fixtures cover correct keyword placement, a focus keyword missing from the body, markup that breaks on mobile and for assistive tech, and clean accessible markup. The keyword fixtures set the focus keyword, title, description and slug before scoring.
The 2.5% density ceiling is a writing guideline, not a ranking rule. No search engine publishes a density threshold, and the module is one small input to the weighted score.