Feat/fe payment page a11y#604
Open
AbuJulaybeeb wants to merge 7 commits into
Open
Conversation
added 5 commits
June 26, 2026 08:03
|
@AbuJulaybeeb Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
@AbuJulaybeeb fix conflict |
Contributor
|
Fix workflow |
1722b0c to
90ffbc9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was done
Implemented PayPageShell to provide a consistent page container, a skip-to-content accessibility link, and a semantic
tag for screen readers.Standardized text contrast across all states (Active, Expired, Paid, Refunded, Loading, Error) to support both light and dark modes out-of-the-box using the --background and --foreground theme tokens.
Replaced non-existent internal icons with lucide-react icons.
Removed generateMetadata from layout.tsx to resolve the Next.js parameter parsing crash on the server and safely refactored the page into a server-side entry point.
Created an elegant top-right NetworkBadge with theme-aware amber/emerald/blue highlighting.
Why it was done To ensure the public payment links represent QuickEx well during contributor demos, fulfilling the WCAG AA contrast standards and ensuring keyboard accessibility on the transaction pipeline.
How it was verified Added a mockState query parameter to cleanly test each payment step without depending on the backend DB. Ran an automated browser subagent through mockState=ACTIVE|EXPIRED|PAID|REFUNDED|ERROR to verify visual aesthetics and generate session screenshots/recordings. Verified local Next.js turbopack builds and completed eslint checks with exit code 0.
Closes #575