Skip to content

Comments

Fix incomplete hreflang bidirectionality and missing news navigation across all 14 language versions#94

Merged
pethers merged 4 commits intomainfrom
copilot/update-index-html-language-support
Feb 11, 2026
Merged

Fix incomplete hreflang bidirectionality and missing news navigation across all 14 language versions#94
pethers merged 4 commits intomainfrom
copilot/update-index-html-language-support

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

Post-merge analysis revealed incomplete SEO implementation and inconsistent navigation UX across language versions.

Changes

Hreflang Bidirectionality (14 news pages)

  • Removed duplicates: EN and SV pages had duplicate AR/HE tags
  • Added missing alternates: European pages (DA, NO, FI, DE, FR) missing 7 languages; ES/NL missing 7; RTL and CJK missing 6 each
  • Result: All 14 news/index_*.html pages now have complete 15-tag structure (14 languages + x-default)

Canonical order enforced:

en → sv → da → nb → fi → de → fr → es → nl → ar → he → ja → ko → zh → x-default

News Navigation (12 main index pages)

Added missing news-navigation component to all non-EN/SV language versions:

  • Nordic: DA, NO, FI (localized "Nyheder", "Nyheter", "Uutiset")
  • European: DE, FR, ES, NL (localized "Nachrichten", "Actualités", "Noticias", "Nieuws")
  • RTL: AR, HE (localized "الأخبار", "חדשות")
  • CJK: JA, KO, ZH (localized "ニュース", "뉴스", "新闻")

Structure:

<div class="news-navigation">
  <a href="news/index_XX.html" aria-label="[localized]">
    <span class="news-navigation-icon">📰</span>
    <span>[localized "News"]</span>
  </a>
  <p>[localized description with CIA OSINT]</p>
</div>

Impact

  • SEO: Google's bidirectional hreflang requirement now satisfied (100% reciprocity)
  • UX: All 14 languages have consistent news discovery path
  • Validation: HTMLHint 0 new errors, WCAG 2.1 AA maintained

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Update index.html and improve language files for news Create 5 GitHub issues for news integration with 14-language support Feb 11, 2026
Copilot AI requested a review from pethers February 11, 2026 16:01
@github-actions
Copy link
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

Copilot AI changed the title Create 5 GitHub issues for news integration with 14-language support Fix incomplete hreflang bidirectionality and missing news navigation across all 14 language versions Feb 11, 2026
@pethers pethers requested a review from Copilot February 11, 2026 18:46
@github-actions
Copy link
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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR completes multi-language SEO and UX consistency by making hreflang alternates fully bidirectional across all localized news index pages and ensuring every localized main landing page includes a consistent “News” entry point.

Changes:

  • Standardized all news/index_*.html hreflang blocks to include the full 14-language set plus x-default, and removed duplicate tags where present.
  • Added the news-navigation component to all non-EN/SV index_*.html pages so each language has a consistent path to its localized news section.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated no comments.

Show a summary per file
File Description
news/index.html Removes duplicates and ensures full hreflang alternates set for EN news index.
news/index_sv.html Removes duplicates and ensures full hreflang alternates set for SV news index.
news/index_da.html Adds missing hreflang alternates to complete the full set.
news/index_no.html Adds missing hreflang alternates to complete the full set (nb → index_no.html).
news/index_fi.html Adds missing hreflang alternates to complete the full set.
news/index_de.html Adds missing hreflang alternates to complete the full set.
news/index_fr.html Adds missing hreflang alternates to complete the full set.
news/index_es.html Adds missing hreflang alternates to complete the full set.
news/index_nl.html Adds missing hreflang alternates to complete the full set.
news/index_ar.html Adds missing hreflang alternates to complete the full set.
news/index_he.html Adds missing hreflang alternates to complete the full set.
news/index_ja.html Adds missing hreflang alternates to complete the full set.
news/index_ko.html Adds missing hreflang alternates to complete the full set.
news/index_zh.html Adds missing hreflang alternates to complete the full set.
index_da.html Adds localized news-navigation block linking to news/index_da.html.
index_no.html Adds localized news-navigation block linking to news/index_no.html.
index_fi.html Adds localized news-navigation block linking to news/index_fi.html.
index_de.html Adds localized news-navigation block linking to news/index_de.html.
index_fr.html Adds localized news-navigation block linking to news/index_fr.html.
index_es.html Adds localized news-navigation block linking to news/index_es.html.
index_nl.html Adds localized news-navigation block linking to news/index_nl.html.
index_ar.html Adds localized news-navigation block linking to news/index_ar.html.
index_he.html Adds localized news-navigation block linking to news/index_he.html.
index_ja.html Adds localized news-navigation block linking to news/index_ja.html.
index_ko.html Adds localized news-navigation block linking to news/index_ko.html.
index_zh.html Adds localized news-navigation block linking to news/index_zh.html.

@pethers pethers marked this pull request as ready for review February 11, 2026 18:51
@pethers pethers merged commit 45a469d into main Feb 11, 2026
17 checks passed
@pethers pethers deleted the copilot/update-index-html-language-support branch February 11, 2026 18:52
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.

2 participants