mirror of
https://github.com/PegaProx/project-pegaprox.git
synced 2026-04-25 10:05:56 +03:00
[PR #59] [MERGED] fix(a11y): set <html lang="en"> — was incorrectly set to "de" #98
Labels
No labels
Approved
Q2-3 2026 Development
bug
documentation
enhancement
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/project-pegaprox-PegaProx#98
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PegaProx/project-pegaprox/pull/59
Author: @ry-ops
Created: 2/21/2026
Status: ✅ Merged
Merged: 2/22/2026
Merged by: @mkellermann97
Base:
main← Head:fix/html-lang-attribute📝 Commits (1)
ff57eeafix(a11y): set <html lang="en"> — was incorrectly set to "de"📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
web/index.html(+1 -1)📄 Description
Summary
The document
langattribute was hardcoded as German (lang="de") even though the app defaults to English and all static markup is in English.Screen readers, browser translation prompts, and search engine crawlers all use the
langattribute to determine the page language. Withlang="de"set, German-speaking users would get no browser translation offer (since the browser thinks it's already in their language), and English screen readers would use incorrect pronunciation rules.The runtime language selection is already handled by
LanguageContext/localStorage— this attribute only needs to reflect the document's default language.Test plan
<html>element — should showlang="en"🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.