-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: remove nested links and buttons #2818
fix: remove nested links and buttons #2818
Conversation
I missed your ping here, @Olaleye-Blessing. @YashKamboj will you have a look at this? |
🚀 Preview for commit a9ba56f at: https://629e95ad8c09091969e7509b--layer5.netlify.app |
@Olaleye-Blessing Are you still facing the errors, as i can see that you are using windows, why don't you use git bash to use make commands or wsl |
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.
You did a great work , but i want to ask that why don't you use the simple solution like adding <form>
around the button, it would a simple fix
I formatted my laptop some weeks ago. I will try again and see if the error is gone. |
I don't understand this. Could you explain further? I think what I'm trying to do is to prevent having a |
@Olaleye-Blessing i meant something like this
I also found something else too , not sure if it will work , give this a try too |
@YashKamboj true, the form will work. But don't you think screen readers are going to have a problem? According to css trick article, there should be a difference when using a |
And I think my drafted pull request has fixed the issue, the only thing left is to correct the layouts that have been affected. |
a9ba56f
to
f54ac69
Compare
@leecalcote @YashKamboj. Like I said earlier, the issue has been fixed but some layouts are affected. Should the layouts be fixed in this pull request? |
@Olaleye-Blessing i gues @Nikhil-Ladha could give you a better review on this one |
🚀 Preview for commit f54ac69 at: https://62a6d04434343a770f57aa70--layer5.netlify.app |
Everything else seems fine, just that |
That is, adding a |
Please follow the instruction mentioned here to fix the DCO check |
Signed-off-by: Olaleye Blessing <[email protected]>
Signed-off-by: Olaleye Blessing <[email protected]>
dd00102
to
16fe509
Compare
@Nikhil-Ladha done |
🚀 Preview for commit 16fe509 at: https://62a759b38cadbf0651423acc--layer5.netlify.app |
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.
Looks good.
Uh-oh. There seems to be an adverse effect here of the Saffron (yellow) color button style going missing. Let's revert this PR to immediately get the styling returned and then look to have this PR's changes re-implemented. |
Where did you see this effect? I couldn't find it 🤔 |
Ok, now I see what went wrong. |
ok, I'll look into it. |
Signed-off-by: Olaleye Blessing [email protected]
Description
Fix wrongly nested links and buttons.
This PR fixes #2740
Notes for Reviewers
Still needs to update components that're affected by these changes.
Signed commits