-
Notifications
You must be signed in to change notification settings - Fork 69
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
Remove full page load link from confirm/[token] page #2248
Remove full page load link from confirm/[token] page #2248
Conversation
@bryanjenningz is attempting to deploy a commit to the c0d3-prod Team on Vercel. A member of the Team first needs to authorize it. |
@@ -16,9 +17,9 @@ const initialValues = { | |||
|
|||
const ConfirmSuccess: React.FC = () => ( | |||
<Card type="success" title="Password has been set!"> | |||
<a className="btn btn-primary btn-lg mb-3" role="button" href="/curriculum"> |
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.
It seems like screen readers should view this as a link rather than a button, so I removed role="button"
.
Codecov Report
@@ Coverage Diff @@
## master #2248 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 175 175
Lines 2969 2969
Branches 796 796
=========================================
Hits 2969 2969
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
May you create and link an issue to it ( |
Done |
Closes #2249
Before this change, there was a link that did a full page load on the confirm password change page (e.g. /confirm/123).
This change removes that full page load link and instead uses the Next.js Link component which improves performance by not doing a full page load (https://nextjs.org/docs/messages/no-html-link-for-pages).
How to test: