Some checks failed
Architecture Lint / Linter Tests (push) Successful in 10s
Smoke Test / smoke (push) Failing after 7s
Validate Config / YAML Lint (push) Failing after 7s
Validate Config / JSON Validate (push) Successful in 7s
Architecture Lint / Lint Repository (push) Has been cancelled
Validate Config / Playbook Schema Validation (push) Has been cancelled
Validate Config / Python Test Suite (push) Has been cancelled
Validate Config / Cron Syntax Check (push) Has been cancelled
Validate Config / Deploy Script Dry Run (push) Has been cancelled
Validate Config / Python Syntax & Import Check (push) Has been cancelled
Validate Config / Shell Script Lint (push) Has been cancelled
Merge PR #569 Co-authored-by: Timmy Time <timmy@alexanderwhitestone.ai> Co-committed-by: Timmy Time <timmy@alexanderwhitestone.ai>
22 lines
458 B
Markdown
22 lines
458 B
Markdown
# Gitea Accessibility Fix - R4: Time Elements
|
|
|
|
WCAG 1.3.1: Relative timestamps lack machine-readable fallbacks.
|
|
|
|
## Fix
|
|
|
|
Wrap relative timestamps in `<time datetime="...">` elements.
|
|
|
|
## Files
|
|
|
|
- `custom/templates/custom/time_relative.tmpl` - Reusable `<time>` helper
|
|
- `custom/templates/repo/list_a11y.tmpl` - Explore/Repos list override
|
|
|
|
## Deploy
|
|
|
|
```bash
|
|
cp -r custom/templates/* /path/to/gitea/custom/templates/
|
|
systemctl restart gitea
|
|
```
|
|
|
|
Closes #554
|