GSA / smartpay-training

Prototype for new GSA SmartPay training quizzes
8 stars 4 forks source link

Consistent Message Displayed on Expired/Invalid Links #630

Open JennaySDavis opened 2 months ago

JennaySDavis commented 2 months ago

The system should display a consistent message when users select an expired/invalid link.

Expired/Invalid Link scenarios:

JennaySDavis commented 2 months ago

Image Image Image Image Image Image

john-labbate commented 4 weeks ago

Note: The reason that the error message does not always stretch the entire length is that it is also reused for errors pertaining the the below form(s), that are 2/3 the width of the page. I am updating them all to be full width, just noting that if there are any other errors on the page like "failed to connect to server" it will also be updated to span the whole page.

JennaySDavis commented 3 weeks ago

630 Acceptance Criteria

Pass/Fail Description
Pass The background color of the message should be consistent across all expired/invalid link scenarios. (#f4e3db)
Pass The icon displayed on the message should be consistent across all expired/invalid link scenarios. (The icon should be a circle with an exclamation point)
Pass The message should span the same width as the GSA system message.
Pass The content of the message should be updated to: This link has expired or is invalid. Links are only valid for 24 hours. Please fill out the form below to request a new link.
Pass All Training Quizzes (purchase, training - A/OPCS; purchase, training, fleet - PC's
Pass GSPC
Pass Reporting Access
Pass Certificate Access

Comments/Additional Notes N/A

ADA Compliance (Automated scan via Chrome Lighthouse)

Criteria Score
Performance 98
Accessibility 99
Best Practices 96*

*Best Practices score is related to a third-party Google Analytics cookie = false positive.

Passed 10/22/2024 - JSD