Skip to content

feat: accessibility pass — skip link, ARIA labels, scope, aria-sort#74

Merged
eclectic-coding merged 2 commits into
mainfrom
feat/accessibility-pass
May 27, 2026
Merged

feat: accessibility pass — skip link, ARIA labels, scope, aria-sort#74
eclectic-coding merged 2 commits into
mainfrom
feat/accessibility-pass

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

@eclectic-coding eclectic-coding commented May 27, 2026

Closes #46

Summary

  • Add skip-to-content link and .sqw-sr-only / .sqw-skip-link CSS utilities
  • Add aria-label to all navigation elements (main nav + three section subnavs)
  • Add scope="col" to every <th> across all 11 table views
  • Add visually-hidden "Actions" label to empty action-column headers
  • Add aria-sort="ascending/descending" on active sort columns (stats, cache entries)
  • Pass aria_label: "Pagination" to all @pagy.series_nav calls

Test plan

  • All 325 existing request specs pass (bundle exec rspec)
  • Rubocop clean (bin/rubocop)
  • Skip link appears on focus (Tab from address bar) on any page
  • Screen reader announces column headers correctly with scope="col"
  • Action column headers announced as "Actions" rather than empty
  • Sort direction announced via aria-sort on stats and cache entries tables
  • Pagination nav announced with "Pagination" label

🤖 Generated with Claude Code

eclectic-coding and others added 2 commits May 26, 2026 20:01
- Add skip-to-content link and sqw-skip-link / sqw-sr-only CSS utilities
- Add aria-label to all nav elements (main nav and three section subnavs)
- Add id="main-content" to <main> as skip-link target
- Add scope="col" to every <th> across all table views
- Add sr-only "Actions" text to empty action column headers
- Add aria-sort="ascending/descending" to active sort column in stats and cache entries
- Pass aria_label: "Pagination" to all @pagy.series_nav calls

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit 329247f into main May 27, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/accessibility-pass branch May 27, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v0.9.0] DX: accessibility pass

1 participant