Skip to content

Fix language switcher styling and JSON-LD wordCount in February 2026 monthly review (14 languages)#660

Merged
pethers merged 2 commits intomain-3881c19868efdf7efrom
copilot/sub-pr-655
Feb 28, 2026
Merged

Fix language switcher styling and JSON-LD wordCount in February 2026 monthly review (14 languages)#660
pethers merged 2 commits intomain-3881c19868efdf7efrom
copilot/sub-pr-655

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

Two structural issues in all 14 2026-02-28-monthly-review-*.html files flagged in review:

  • Missing lang-link CSS class — switcher links rendered unstyled (no padding, active highlight, or focus rings). Active link also lacked the class.
  • Hardcoded "wordCount": 3500 in JSON-LD — inaccurate and inconsistent with all other news pages which omit this field.

Changes

  • Language switcher — added class="lang-link" to all inactive links; active link updated from class="active"class="lang-link active" (retaining aria-current="page"):
<!-- before -->
<a href="2026-02-28-monthly-review-en.html" class="active" aria-current="page">EN</a>
<a href="2026-02-28-monthly-review-sv.html" >SV</a>

<!-- after -->
<a href="2026-02-28-monthly-review-en.html" class="lang-link active" aria-current="page">EN</a>
<a href="2026-02-28-monthly-review-sv.html" class="lang-link">SV</a>
  • JSON-LD — removed "wordCount": 3500 from all 14 files.

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

…nt in monthly review articles

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add February 2026 monthly review articles in 14 languages Fix language switcher styling and JSON-LD wordCount in February 2026 monthly review (14 languages) Feb 28, 2026
@pethers pethers marked this pull request as ready for review February 28, 2026 17:05
@pethers pethers merged commit 210d749 into main-3881c19868efdf7e Feb 28, 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.

2 participants