Skip to content

fix: accessibility and OG/Twitter metadata gaps in 14-language welfare-to-work articles#754

Merged
pethers merged 2 commits intomain-7b53eba7b6ef401afrom
copilot/sub-pr-747
Mar 3, 2026
Merged

fix: accessibility and OG/Twitter metadata gaps in 14-language welfare-to-work articles#754
pethers merged 2 commits intomain-7b53eba7b6ef401afrom
copilot/sub-pr-747

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

Three categories of issues across the 14-language welfare-to-work reform article package, identified in PR review.

Changes

og:image:alt + twitter:image:alt missing (12 files: ar, da, de, es, fi, fr, he, ja, ko, nl, no, zh)

Added localized image alt metadata after og:image:height and twitter:image in each file:

<meta property="og:image:alt" content="Riksdagsmonitor - Sprachversionen">
<meta name="twitter:image:alt" content="Riksdagsmonitor - Sprachversionen">

Skip-link + localized aria-label missing (all 14 files)

Added skip-link before the language switcher nav and localized the nav's aria-label per language:

<body>
  <a class="skip-link" href="#main-content">Zum Hauptinhalt springen</a>
  <nav class="language-switcher" role="navigation" aria-label="Sprachversionen">

Each language uses its own localized text (e.g., تخطي إلى المحتوى الرئيسي / تبديل اللغة for AR, 跳转到主要内容 / 语言版本 for ZH).

EN title/description inconsistency (en.html)

Article covers three reforms but <title>, meta description, OG/Twitter tags, LD+JSON, <h1>, and lede all said "Twin welfare reforms". Updated throughout to "Three welfare reforms" covering job premium, sick leave trials, and elderly care background checks.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…fix EN title consistency

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Sweden welfare-to-work reforms details fix: accessibility and OG/Twitter metadata gaps in 14-language welfare-to-work articles Mar 3, 2026
@pethers pethers marked this pull request as ready for review March 3, 2026 12:15
@pethers pethers merged commit b61f09c into main-7b53eba7b6ef401a Mar 3, 2026
@pethers pethers deleted the copilot/sub-pr-747 branch March 3, 2026 12:15
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