Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up focus behavior: Introduction page #96927

Closed
2 tasks
oddball-lindsay opened this issue Nov 12, 2024 · 3 comments
Closed
2 tasks

Clean up focus behavior: Introduction page #96927

oddball-lindsay opened this issue Nov 12, 2024 · 3 comments
Assignees
Labels
accredited-representation-management-team Accredited Representation Management team bug Something isn't working frontend

Comments

@oddball-lindsay
Copy link
Contributor

oddball-lindsay commented Nov 12, 2024

Background

Accessibility has found an instance on the /introduction screen where the focus can be cleaned up.

  • When you open a modal on /introduction - either the sign in modal or the feedback modal - then close the modal, focus should go back to the button that opened the modal (i.e., where the user was before they closed the modal).
    • Currently, focus jumps back to the top of the page. The user is then forced to make their way all the way back down the page to get back to where they started, which is confusing at best. Blind and visually impaired users may have difficulty understanding their location on the screen, as well as the action that has occurred.
    • How to recreate: Using a keyboard, open the Sign in modal. Then press ESC (or Enter on the X icon), and note how focus jumps back to the fop of the page.
    • Clip of focus issue
    • Reported in Edge and Safari browsers, using JAWS and VoiceOver

Acceptance Criteria

  • The issues above have been addressed.
@oddball-lindsay oddball-lindsay added accredited-representation-management-team Accredited Representation Management team bug Something isn't working frontend mvp Initial version of thing labels Nov 12, 2024
@oddball-lindsay oddball-lindsay changed the title Clean up focus behavior Clean up focus behavior: Introduction page Nov 13, 2024
@oddball-lindsay oddball-lindsay removed the mvp Initial version of thing label Dec 24, 2024
@jvcAdHoc jvcAdHoc self-assigned this Jan 6, 2025
@oddball-lindsay
Copy link
Contributor Author

The Save in Progress component is part of the forms library, and it's doing the same thing on other form experiences. This may be a design system issue.

The other issue is related to the Rep Status Widget.

@oddball-lindsay
Copy link
Contributor Author

oddball-lindsay commented Jan 6, 2025

Confirming that I am seeing this experience (closing Save in Progress sign in modal and focus goes back to the top of the page) for other form experiences:

  1. 21-526EZ
  2. 21-10210

Next steps:

  1. I'll create a bug ticket about this for the design system.
  2. I'll create a bug ticket for future Widget work, to do some focus handling updates.

Closing this particular ticket out, as there's nothing for us to do for the Appoint product specifically

@jvcAdHoc
Copy link
Contributor

jvcAdHoc commented Jan 6, 2025

One more form to reference: 21-0966 uses the same SaveInProgressIntro component that we do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accredited-representation-management-team Accredited Representation Management team bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

2 participants