Fix CSP inline-script/style, Dutch lang attrs, Swedish/French UI localisation#837
Merged
pethers merged 2 commits intoevening-analysis-2026-03-05-13bbbf9821635a4dfrom Mar 5, 2026
Merged
Conversation
7 tasks
…localization Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add evening analysis for March 5, 2026
Fix CSP inline-script/style, Dutch lang attrs, Swedish/French UI localisation
Mar 5, 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.
PR review on the 2026-03-05 evening analysis batch flagged four issues:
'unsafe-inline'in CSP, English UI strings on the Swedish page, a mismatched<h1>on the French page, and English body content in the Dutch page lackinglangattributes.CSP hardening + theme-init extraction (all 14 files)
'unsafe-inline'fromscript-srcandstyle-srcjs/theme-init.js; all pages now reference it externallymedia="print" onload="this.media='all'"inline event handler from the Orbitron font linkSwedish UI localisation (
sv.html)aria-label/title/data-label-*, and language-switcheraria-labelwere all English; now Swedish ("Hoppa till huvudinnehåll","Byt till mörkt/ljust läge","Språkversioner")French
<h1>alignment (fr.html)<h1>was missing the"Analyse du soir : "prefix present in<title>, OG, Twitter, and JSON-LDheadlineDutch content language tagging (
nl.html)<h2>headings, and both list groups are in English while the page is declaredlang="nl"; addedlang="en"at paragraph, heading, and<ul>level so assistive tech switches pronunciation correctly💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.