From 7f1593f0ea42bd80c130a3a1051ac0a8ae366081 Mon Sep 17 00:00:00 2001 From: Barney Laurance Date: Thu, 2 Nov 2023 10:37:28 +0000 Subject: [PATCH 1/2] DON-877: Save my details dialog screen reader adjustments: - Stop auto-focusing on the 'cancel' button so it doesn't have to be read first - Set entire dialog content as 'aria-live' so it is automatically read out when the dialog is opened - Change link copy from "Learn more" to "Learn more about stripe" --- .../donation-complete-set-password-dialog.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/donation-complete/donation-complete-set-password-dialog.html b/src/app/donation-complete/donation-complete-set-password-dialog.html index c92fc6484..5a3bbd69f 100644 --- a/src/app/donation-complete/donation-complete-set-password-dialog.html +++ b/src/app/donation-complete/donation-complete-set-password-dialog.html @@ -1,11 +1,11 @@ - +

Set a password

Email address: {{ data.person.email_address }}

-

Your last payment card will be saved for reuse. It is held securely only with Stripe. open_in_new Learn more.

+

Your last payment card will be saved for reuse. It is held securely only with Stripe. open_in_new Learn more about Stripe.

Password (at least {{ minPasswordLength }} characters) @@ -21,6 +21,6 @@

Set a password

- + From 3af008b915b63d511cda2ce675fe9514c93a2818 Mon Sep 17 00:00:00 2001 From: Barney Laurance Date: Thu, 2 Nov 2023 10:43:45 +0000 Subject: [PATCH 2/2] DON-877: Make "You are now registered" copy aria-live Screen readers should naw automatically read the text "You are now registered. You can now donate faster using your chosen email address and password. " when it appears, instead of waiting for the user to navigate to it. --- src/app/donation-complete/donation-complete.component.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/donation-complete/donation-complete.component.html b/src/app/donation-complete/donation-complete.component.html index a2763709a..cf59954d4 100644 --- a/src/app/donation-complete/donation-complete.component.html +++ b/src/app/donation-complete/donation-complete.component.html @@ -50,10 +50,12 @@

Thank you!

This helps you to make doubling your donation easier.

+

You are now registered and logged in. You can now donate faster using your chosen email address and password.

+