Skip to content

Add accessible skip-to-main-content links - #982

Draft
jpagh wants to merge 1 commit into
jhpyle:masterfrom
jpagh:add-skip-links
Draft

Add accessible skip-to-main-content links#982
jpagh wants to merge 1 commit into
jhpyle:masterfrom
jpagh:add-skip-links

Conversation

@jpagh

@jpagh jpagh commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds accessible “Skip to main content” links across docassemble pages and interviews.

Changes

  • Added the translated “Skip to main content” phrase.
  • Added skip links to the shared base template and interview pages.
  • Ensured links are the first keyboard Tab stop.
  • Added role="main" and tabindex="-1" to main content targets.
  • Preserved the interview skip link after AJAX navigation.

Verification

  • Confirmed the first Tab focuses the skip link.
  • Confirmed activating it moves focus to the main content.
  • Verified standard pages and interview pages.
  • Verified the link remains available after interview navigation.

Issue SuffolkLITLab#36

Edit: This requires more discussion regarding the correct handling of both the skip to content link and pre-selected fields.

@jpagh
jpagh marked this pull request as draft August 31, 2026 21:11
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.

1 participant