-
Notifications
You must be signed in to change notification settings - Fork 56
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
Forms>Validation : Add a link to "Terms and conditions" checkboxes #2002
Forms>Validation : Add a link to "Terms and conditions" checkboxes #2002
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I did the fix as asked by design that is with the entire label as a link (therefore visually underlined) and with the following interactive behavior: when clicking on the label, a new page opens and the checkbox doesn't change state. So to avoid this possible confusion, we also can do it that way as illustrated below: we place only the "terms and conditions" words in the link. It's know clearer to know that there is a link toward a new content. In addition, to tick/untick the box, users still have to possibilities: clicking on the box or clicking on the "Agree to" part of the label. |
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.
Some a11y fixes needed.
Regarding the design guideline, if this is truly the rule then the rule must be clearly written somewhere.
It has been decided during a spec web meeting (on April 24th 2023):
|
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM 🚀
This looks good. No issues. Thanks. |
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's ok !
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
… terms and conditions" Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
…s and conditions" checkbox label + reintroducing margin-left in css. Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
b9e29a4
to
5271fdb
Compare
Kudos, SonarCloud Quality Gate passed! |
Note: Please transform
- [ ]
into- (NA)
in the description when things are not applicableRelated issues
#1715
Description
Designers said that the checkbox label "Agree Terms and Conditions" should be a link towards a "Terms and Conditions" page that the user is supposed to read before checking the box.
As no design specification is available yet, a design review is to be asked.
Motivation & Context
This changed was required by designers.
Types of change
Live previews
Checklist
Contribution
Accessibility
Design
Development
Documentation
Checklist (for Core Team only)
After the merge