civiform / civiform

CiviForm simplifies the application process for government benefits programs by re-using applicant data for multiple benefits applications. It's being developed by Google.org and Exygy, in collaboration with the City of Seattle and community contributors.
https://civiform.us
Apache License 2.0
90 stars 56 forks source link

(WCAG 2.1) Focus management Issues with "Apply to Another Program" Modal Dialog #5522

Open dkatzz opened 1 year ago

dkatzz commented 1 year ago

OBSERVED RESULTS:

EXPECTED RESULTS:

STEPS TO REPRODUCE:

ADDITIONAL INFORMATION:

ENVIRONMENT DETAILS:

rockycodes commented 9 months ago

html dialogue element could help with this: https://blog.webdevsimplified.com/2023-04/html-dialog/

rockycodes commented 9 months ago

Consider using USWDS modal: https://designsystem.digital.gov/components/modal/

rockycodes commented 9 months ago

When updating the modal, look into also make the modal title a darker color and maybe bold to improve contrast. Now that we are using USWDS alert components, the modal title isn't standing out as much as we would like it to. image

melanie-exygy commented 9 months ago

We might consider turning this into a USWDS modal now that we have an easy way to do that: USWDS modal utility function.