-
Notifications
You must be signed in to change notification settings - Fork 56
Improve toast annoucnements for AT #1422
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
base: dev
Are you sure you want to change the base?
Conversation
@@ -93,17 +93,6 @@ class Wizard extends Component<Props> { | |||
this._routeTo(nextId) | |||
} | |||
} else { | |||
// Display a toast to acknowledge saved changes | |||
// (although in reality, changes quietly took effect in previous screens). | |||
toastPromise( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also remove the imports of '../util/toasts'
that are now unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, thank you!
@@ -169,7 +169,9 @@ components: | |||
A11yPrefs: | |||
accessibilityRoutingByDefault: Prefer accessible trips by default | |||
AccountSetupFinishPane: | |||
message: You are ready to start planning your trips. | |||
message: >- | |||
Your changes have been saved. You are ready to start planning trips. Click |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a clever change!
Description:
Adds "alert" to default settings to more consistently force toast to announce to AT.
Previously "create account complete" announcement upon exiting the wizard was not being announced because the URL/Page title changing was higher priority. Ensuring both announcements were read properly was requiring a complex set of fake
Promises
,setTimeouts
and aria settings. That toast is not actually needed, as all the changes were already saved. Instead, replace the toast with the a message on the "Account Complete" screen that informs users changes were saved and that clicking the "finish" button will redirect them.PR Checklist: