Skip to content

Standards: Component B error pages declare lang="en" and omit dir instead of en-GB project standard #119

@Salem874

Description

@Salem874

Problem

The project base language is en-GB and Component B's own landing pages correctly use <html lang="en-GB" dir="ltr">, but the three self-contained error pages use <html lang="en" ...> with no dir attribute — an internal inconsistency and a deviation from the project locale standard (WCAG 3.1.1 is satisfied by en, but it mis-declares if these strings are localised).

Affected files

  • web/G2My.Link/public_html/404.php (line 55), expired.php (line 76), validating.php (line 75)

Recommended fix

Set lang="en-GB" and add dir="ltr" on all three error pages to match the landing pages and project standard (or derive from getLocale() if the framework is available).

Acceptance criteria

  • All three error pages use lang="en-GB" and dir="ltr"
  • Consistent with the Component B landing pages

Filed from the 2026-06-04 deployment-readiness audit — see docs/AUDIT_2026-06-04.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    complianceLegal/regulatory compliancecomponent-BComponent B: Shortlink Domain (g2my.link)priority-lowLow priority - nice to have

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions