Fix review issues in 2026-03-09 propositions articles (14 languages)#942
Merged
pethers merged 2 commits intomain-bed0b995399e365cfrom Mar 9, 2026
Merged
Fix review issues in 2026-03-09 propositions articles (14 languages)#942pethers merged 2 commits intomain-bed0b995399e365cfrom
pethers merged 2 commits intomain-bed0b995399e365cfrom
Conversation
…p-links, lang attrs Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add government propositions articles for 2026-03-09
Fix review issues in 2026-03-09 propositions articles (14 languages)
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses all automated code review feedback on the 14-language government propositions articles: CSP hardening, broken script reference, Schema.org/OG metadata conflict, misleading link text, and accessibility gaps.
Changes
CSP hardened (
all 14 files): Removed'unsafe-inline'fromscript-srcandstyle-src; replaced with a SHA-256 hash for the inline theme-detection script — the only inline script in these filesScript reference fixed (
all 14 files):../scripts/back-to-top.ts→../js/back-to-top.js(the compiled output that actually exists and can be executed by browsers)Schema.org image dimensions corrected (
all 14 files):og-image-news.webpJSON-LD dimensions were 512×512, conflicting with OG metadata; corrected to 1200×630. Publisher logo stays at 512×512.Proposition link text normalized (
all 14 files): Link labels used internal document IDs (Prop. 2025/26: HD03134) instead of the standard proposition number format used everywhere else in the article body (Prop. 2025/26:134)Skip-link localization (
13 non-English files): "Skip to main content" translated to each document's language (e.g.跳至主要内容for zh,الانتقال إلى المحتوى الرئيسيfor ar)Dutch file
lang="en"annotations (nl.html): English-language paragraphs throughout the Dutch article (context-box, deep-analysis, all "Why It Matters" / "Published:" entries) now carrylang="en"so screen readers and search engines do not mispronounce or mis-index them💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.