Skip to content

Add skip-to-main-content links - #78

Draft
jpagh wants to merge 2 commits into
SuffolkLITLab:v1.9.8.postfrom
jpagh:suffolk/add-skip-links
Draft

Add skip-to-main-content links#78
jpagh wants to merge 2 commits into
SuffolkLITLab:v1.9.8.postfrom
jpagh:suffolk/add-skip-links

Conversation

@jpagh

@jpagh jpagh commented Sep 5, 2026

Copy link
Copy Markdown

Pressing tab after the page loads brings up this otherwise hidden link that skips straight to the content:

image

I tested it, and the only page where it didn't work was on an address page, where the first tab took you right to the question and a second tab to the first field. This seems acceptable.

Edit: Upon further testing and investigation, I think this might need more discussion about what the ideal result looks like. Not only the address field, but other fields can be a higher priority for either first tab, or are pre-selected on screen load. Should the skip to content link ALWAYS be the first thing that tab goes to, even if that means changing it so the cursor is never pre-selecting a field? Or should we allow pre-selecting a field, and use the skip to content only on other pages? Should we instead, on interview screens, maybe always make the first tab skip to content (Question) by default? I think this is interesting, but requires more thought about the correct implementation.

Closes #36

@jpagh
jpagh marked this pull request as draft September 5, 2026 15:57
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.

Add Skip links at the top of pages

1 participant