Skip to content

SEO: backfill meta description fixes and add missing crawler meta tags to 2685 older news pages#2974

Merged
pethers merged 2 commits into
mainfrom
copilot/add-missing-descriptions
Jun 16, 2026
Merged

SEO: backfill meta description fixes and add missing crawler meta tags to 2685 older news pages#2974
pethers merged 2 commits into
mainfrom
copilot/add-missing-descriptions

Conversation

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Two SEO audit failures addressed: 21 pages flagged for "missing" meta descriptions (root cause: trailing U+2026 treated as truncated by the audit tool), and 2685 older news pages missing crawler directives that were introduced in a later template revision.

Meta description fixes (21 pages)

  • Replaced all truncated descriptions (ending ) with complete sentences
  • Expanded short descriptions to ≥120 chars (audit threshold)
  • Applied to all three variants per file: name="description", og:description, twitter:description
  • Covers index pages (index_ja.html, index_ko.html) and language variants across EN/SV/DA/ES/FR/NL/AR/JA/ZH

Crawler meta tag backfill (2685 older news pages)

Pages rendered before scripts/render-lib/chrome/head.ts was updated to emit these tags were missing them entirely. Added to every affected news/*.html:

<meta name="news_keywords" content="...">  <!-- mirrors existing keywords value -->
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
<meta name="googlebot" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
<meta name="bingbot" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">

Post-fix verification: 0 pages missing robots, 0 missing news_keywords across all 6087 news/*.html files.

Replaces truncated (ellipsis-ending) and too-short meta descriptions
with complete, newsworthy, language-appropriate text (no '…') across:
- 8 truncated: ai-strategy fr/nl/es/ja, evening-analysis en/sv/zh,
  interpellationssvar-en, ai-facial-recognition-en
- 5 too-short: ai-strategy-ja, committee-reports-sv Mar26, govt-propositions-ar,
  index_ja, index_ko
- 8 already-complete but flagged: immigration-reform-en, committee-reports-en,
  legislative-package-nl, security-detention-en, committee-reports-sv Apr6,
  breaking-1416 es/sv, interpellationssvar-da

Updates all three meta variants per file (name=description, og:description,
twitter:description) to match.

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
@github-actions github-actions Bot added html-css HTML/CSS changes i18n Internationalization/localization translation Translation updates rtl RTL language support (Arabic, Hebrew) news News articles and content generation size-m Medium change (50-250 lines) labels Jun 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ Automatic Labeling Summary

This PR has been automatically labeled based on the files changed and PR metadata.

Applied Labels: html-css,i18n,translation,rtl,size-m,news

Label Categories

  • 🗳️ Content: news, dashboard, visualization, intelligence
  • 💻 Technology: html-css, javascript, workflow, security
  • 📊 Data: cia-data, riksdag-data, data-pipeline, schema
  • 🌍 I18n: i18n, translation, rtl
  • 🔒 ISMS: isms, iso-27001, nist-csf, cis-controls
  • 🏗️ Infrastructure: ci-cd, deployment, performance, monitoring
  • 🔄 Quality: testing, accessibility, documentation, refactor
  • 🤖 AI: agent, skill, agentic-workflow

For more information, see .github/labeler.yml.

…er news pages

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title fix: replace truncated/short meta descriptions on 21 SEO-flagged pages SEO: backfill meta description fixes and add missing crawler meta tags to 2685 older news pages Jun 16, 2026
Copilot AI requested a review from pethers June 16, 2026 11:46
@github-actions github-actions Bot added the size-xl Extra large change (> 1000 lines) label Jun 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟡
Accessibility 95/100 🟢
Best Practices 90/100 🟢
SEO 95/100 🟢

📥 Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

@pethers pethers marked this pull request as ready for review June 16, 2026 12:03
Copilot AI review requested due to automatic review settings June 16, 2026 12:03
@pethers pethers merged commit 9716e80 into main Jun 16, 2026
20 checks passed
@pethers pethers deleted the copilot/add-missing-descriptions branch June 16, 2026 12:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

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

Labels

html-css HTML/CSS changes i18n Internationalization/localization news News articles and content generation rtl RTL language support (Arabic, Hebrew) size-m Medium change (50-250 lines) size-xl Extra large change (> 1000 lines) translation Translation updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants