Fix CSP, accessibility, and standards compliance in 2026-03-13 committee-reports articles#1106
Merged
pethers merged 2 commits intomain-62a4e8d6e78c93d5from Mar 13, 2026
Merged
Conversation
…cles - Remove 'unsafe-inline' from CSP script-src and style-src (EN + SV) - Replace inline theme init script with external ../js/theme-init.js (EN + SV) - Remove Google Fonts inline onload handler, use regular stylesheet link (EN + SV) - Remove duplicate h1 and tagline block, keep single h1 in hero-header-text (EN + SV) - Fix truncated BreadcrumbList name to use full article title (EN + SV) - Fix time datetime format from space-separated to ISO-8601 with T separator (EN + SV) - Replace ../scripts/back-to-top.ts with compiled ../js/back-to-top.js (EN + SV) - Deduplicate keywords in meta content and Schema.org keywords (EN + SV) Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add 2026-03-13 committee-reports articles (EN, SV)
Fix CSP, accessibility, and standards compliance in 2026-03-13 committee-reports articles
Mar 13, 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 16 review comments from automated PR review on #1103, aligning both EN and SV article pages with established patterns in other news articles.
Security (CSP hardening)
'unsafe-inline'from bothscript-srcandstyle-srcdirectives../js/theme-init.jsonload="this.media='all'"inline handler; use standard<link rel="stylesheet">Accessibility / SEO
<h1>and tagline block — single<h1>inhero-header-textnameat position 3 to use full article title<time datetime>fromYYYY-MM-DD HH:MM:SS→YYYY-MM-DDTHH:MM:SS(valid ISO-8601)Correctness
../scripts/back-to-top.tswith compiled../js/back-to-top.js(browsers can't execute TS)keywordsin both<meta>tag and Schema.org structured dataAll changes mirror the pattern used by the reference
2026-03-12-committee-reports-en.html. HTMLHint: 0 errors.📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.