-
Notifications
You must be signed in to change notification settings - Fork 54
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
Change color of disabled form controls foreground #1797
Conversation
Signed-off-by: Isabelle Chanclou <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Haven't reviewed it right now but is there any spec for this ? |
Franco said that specs were available in zeplin I guess, and told me to replace the color of the placeholder text + the color of the arrow by #ccc. I didn't found the specs he told about...
|
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.
Good til the design is fine with it.
TBH this modification seems very weird to me. In our main branch, this is the rendering of disabled input and select: In this PR: Select rendering is supposed to be based on the input one, so the discrepancy sounds strange to me. Moreover, the text and the arrow are almost invisible (not very accessible IMHO). Thoughts @Franco-Riccitelli? |
Maybe a grey |
This looks good. No issues. |
I confirm it is not a problem for accessibility because it is an inactive state. |
Here's a rendering comparison between the main branch (left) and this PR (right): The rendering of the text (the value) in a disabled |
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.
Confirmed by @Franco-Riccitelli: the color must be the same for all form controls and it's the new light gray used for <select>
s in this PR.
So this PR is a bit larger than expected and needs to be updated.
Label color when form controls are disabled should also be gray.
Started some work via d2b68e7 but it's not finalized.
This PR will require another design review with the temp form page to check consistency between disabled form controls rendering.
This PR needs an update of its descriptioN.
Closing this PR in favor of a more complex issue to tackle and to specify: #2221 |
Note: Please transform
- [ ]
into- (NA)
in the description when things are not applicableRelated issues
This PR was created when working on issue #1199 and its PR #1614.
Description
Reviewing all Docs components to identify where to add design callout messages, designers told us that the placeholder of a disabled select element could remain displayed but that the color of the placeholder text as well as the color of the arrow of the select should be replaced by this
#ccc
color.Motivation & Context
Respecting the colors of the design specifications and then delete a design callout message that becomes useless.
Types of change
Live previews
Checklist
Contribution
Accessibility
Design
Development
Documentation
Checklist (for Core Team only)
After the merge