fix(a11y): localize skip-link/theme-toggle and mark English blocks in 11 multilingual news articles#841
Merged
pethers merged 2 commits intoevening-analysis-2026-03-05-13bbbf9821635a4dfrom Mar 5, 2026
Conversation
7 tasks
…ocks in 11 news articles
- DA: Localize skip-link ('Spring til hovedindhold'), theme toggle to Danish; add lang='en' to all English paragraphs/headings/lists
- FI: Localize skip-link ('Siirry suoraan pääsisältöön'), theme toggle to Finnish; add lang='en' to all English blocks
- ES: Localize skip-link ('Saltar al contenido principal'), theme toggle, and language-switcher nav aria-label to Spanish; add lang='en' to English blocks
- FR: Add lang='en' to all English paragraphs, headings and lists
- NO: Add lang='en' to all English paragraphs, headings and lists
- DE: Add lang='en' to 2 missing paragraphs and context-box/watch-list <ul>
- ZH: Add lang='en' to 2 missing paragraphs and context-box/watch-list <ul>
- JA: Add lang='en' to 2 missing paragraphs and context-box/watch-list <ul>
- HE: Add lang='en' dir='ltr' to 2 missing paragraphs and context-box/watch-list <ul>
- AR: Add lang='en' dir='ltr' to 2 missing paragraphs and context-box/watch-list <ul>
- KO: Add lang='en' to context-box and watch-list <ul>
All 11 files pass HTMLHint validation.
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix details in evening analysis report for March 5, 2026
fix(a11y): localize skip-link/theme-toggle and mark English blocks in 11 multilingual news articles
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.
Accessibility issues across the 2026-03-05 evening analysis articles: English UI strings on non-English pages, missing
lang="en"on inline English content, and missingdir="ltr"on English blocks inside RTL pages (Arabic, Hebrew).Skip-link & theme-toggle localization (DA, FI, ES)
UI chrome was using English defaults on Danish, Finnish, and Spanish pages:
Spanish also gets
aria-label="Versiones de idioma"on the language-switcher<nav>.lang="en"on inline English contentlang="en"to every English<p>, the English<h2>, and both<ul>lists (context-box + watch-list).<ul>lists were missing the attribute despite the rest of the article already being marked up.<ul>lists neededlang="en" dir="ltr"so bidirectional layout and screen-reader language switching behave correctly.<ul>were missinglang="en".✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.