Files
timmy-config/deploy/gitea-a11y/custom/public/css/a11y-fixes.css
Alexander Payne b1ff0b7b48
Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 11s
Smoke Test / smoke (pull_request) Failing after 16s
Validate Config / YAML Lint (pull_request) Failing after 14s
Validate Config / JSON Validate (pull_request) Successful in 15s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 49s
Validate Config / Python Test Suite (pull_request) Has been skipped
Validate Config / Cron Syntax Check (pull_request) Successful in 10s
Validate Config / Shell Script Lint (pull_request) Failing after 51s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 10s
Validate Config / Playbook Schema Validation (pull_request) Successful in 20s
Architecture Lint / Lint Repository (pull_request) Failing after 17s
PR Checklist / pr-checklist (pull_request) Successful in 4m8s
feat(a11y): add skip navigation link (WCAG 2.4.1) — Closes #545
Implements V1 skip navigation fix by:
- Adding .skip-link CSS to a11y-fixes.css (visually hidden until focus)
- Updating header_banner.tmpl to emit skip link as first element
- Updating README with V1 entry and description

Fixes #545
2026-04-26 01:51:01 -04:00

27 lines
644 B
CSS

/* a11y-fixes.css — Gitea custom public CSS overrides for WCAG 2.1 AA */
/* V4 (#548): Green inline links — darken + underline for contrast */
.markdown-body a,
.markdown-body a:not(.label):not([class]) {
color: #507020 !important;
text-decoration: underline !important;
}
.markdown-body a:hover,
.markdown-body a:focus {
color: #3a5518 !important;
}
/* V1 (#545): Skip navigation link — visually hidden until keyboard focus */
.skip-link {
position: absolute;
top: -40px;
left: 0;
background: #000;
color: #fff;
padding: 8px 16px;
z-index: 10000;
transition: top 0.3s ease-in-out;
}
.skip-link:focus {
top: 0;
}