Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Add route change as the definition of page in spa#6169

Open
jeana-adhoc wants to merge 3 commits into
mainfrom
spa-forms-focus
Open

Add route change as the definition of page in spa#6169
jeana-adhoc wants to merge 3 commits into
mainfrom
spa-forms-focus

Conversation

@jeana-adhoc
Copy link
Copy Markdown
Contributor

@jeana-adhoc jeana-adhoc commented Apr 23, 2026

Summary

Adds clarity and defines what a "page" is in an SPA. This helps Accessibility specialists understand how to manage focus and other on page announcements. Adds "Route change" to the definition of a page.

Related Issue

N/A

Preview Environment Links

Open Preview Environment

Copilot AI review requested due to automatic review settings April 23, 2026 02:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Clarifies what constitutes a “page” within VA.gov single-page applications (SPAs) by defining it as a route change, to better support accessibility guidance around focus management.

Changes:

  • Updates form accessibility guidance to explicitly reference SPA route changes when discussing focus movement between “pages”.
  • Adds an SPA definition of “new page” as a route change to the general focus management guidelines.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/_templates/forms/accessibility-guidelines.md Clarifies focus guidance for form “pages” by referencing routes in SPA form flows.
src/_accessibility/focus-management.md Defines “new page” in SPAs as a route change in the focus management guidelines.

Comment thread src/_templates/forms/accessibility-guidelines.md Outdated
Comment thread src/_accessibility/focus-management.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread src/_accessibility/focus-management.md Outdated
@jeana-adhoc jeana-adhoc marked this pull request as ready for review April 23, 2026 02:58
@jeana-adhoc jeana-adhoc requested a review from a team as a code owner April 23, 2026 02:58
@jeana-adhoc jeana-adhoc requested a review from amyleadem April 23, 2026 02:58
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.

2 participants