[A11Y] [Low] Verify lang attribute is set correctly #41
Labels
No labels
accessibility
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
severity-medium
wcag-a
wcag-aa
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ssa/www.deployview.com#41
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?
Accessibility Issue: Verify HTML lang Attribute
WCAG Level: A (3.1.1 Language of Page)
Severity: Low (likely handled by Hugo/Docsy)
Category: Semantic HTML
Issue Description
The
<html>element should have alangattribute that correctly identifies the primary language of the page. This helps screen readers pronounce content correctly.User Impact
Current Configuration
In
hugo.yaml:Hugo should automatically add
lang="en"to the HTML element based on this configuration.Investigation Needed
<html lang="en">Testing Instructions
hugopublic/index.html<html lang="en">is presentResources
Acceptance Criteria
langattribute is present in rendered HTML