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

implement fail screen for easy renewals journey Part 1 #2128

Closed

Conversation

lailien3
Copy link
Contributor

https://eaflood.atlassian.net/browse/IWTF-4392

The easy renewals journey is using error validation to tell a user they are not eligible to use the service (in this case because their details do not match any in our systems). This is not a correct use of the design pattern: Recover from validation errors

“Do not use validation to check whether the user is eligible to use the service”

Instead the user should be taken to a new screen that tells them what has happened and what they need to do next.

The easy renewals journey is using error validation to tell a user they are not eligible to use the service (in this case because their details do not match any in our systems). This is not a correct use of the design pattern: Recover from validation errors

“Do not use validation to check whether the user is eligible to use the service”

Instead the user should be taken to a new screen that tells them what has happened and what they need to do next.

The main problems are:

not accessible for screen readers - error at top of page and above field do not match

because we cannot tell users which piece of information is incorrect for security reasons, the error is always applied to the licence number (from what I can tell from my limited testing). The user may waste time and get frustrated re-checking the licence number, not realising it is another field that is incorrect.
@lailien3 lailien3 added the enhancement New feature or request label Feb 19, 2025
@lailien3 lailien3 self-assigned this Feb 19, 2025
@lailien3 lailien3 closed this Feb 19, 2025
@lailien3 lailien3 deleted the feature/iwtf-4392-refactor-easy-renewals-error-screen branch February 19, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant