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

Archive patient modal does not return focus to when exiting modal #5817

Closed
BobanL opened this issue May 16, 2023 · 0 comments · Fixed by #5931
Closed

Archive patient modal does not return focus to when exiting modal #5817

BobanL opened this issue May 16, 2023 · 0 comments · Fixed by #5931
Assignees
Labels
Accessibility Issues that affect SR's accessibility

Comments

@BobanL
Copy link
Contributor

BobanL commented May 16, 2023

Area or Component

Patients page - Archive patient modal

Quick Summary

When exiting out of the modal via cancel or escape key, focus should be returned to the archive patient button instead of the Patient search box.

How to Replicate

Click the three dots button next to patient, click the archive patient, and then either click "No, go back" or escape button.

Screenshare.-.2023-05-16.11_37_18.AM.mp4

Accessibility Violation

Focus modal not returned

Action Requested

On cancel or escape of the modal, focus should be returned back to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Issues that affect SR's accessibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants