Operating system : Win 10
Browser : Firefox ESR 52.9.0
What version of the Carbon Design System are you using?
What did you expect to happen?
What happened instead?
What WCAG 2.1 checkpoint does the issue violate?
Hi. I need a more information to be able to help.
@dakahn
@dakahn
This was originally opened by @panlei080988 against IBM Cloud Internet Services. Using that app you can probably see it in any placeholder text.
We're currently running with:
"carbon-addons-cloud": "^2.1.0", "carbon-addons-cloud-react": "^1.3.2", "carbon-addons-data-viz-react": "^1.21.0", "carbon-components": "^9.48.1", "carbon-components-react": "^6.50.2", "carbon-icons": "^7.0.7",
I hope this helps.
Great, thanks for the info. Yeah that totally seems unreadable even to me with 20/20 vision.
@dakahn Any update for this issue?
@IBM/carbon-designers Is it cool to up the contrast on the placeholder text here to something closer to v10?
I don't have the bandwidth until next week, but please feel free to submit a PR 🙏
Firefox applies a ~0.5 opacity to all placeholders. So explicitly setting the opacity would fix this. As a result, this issue isn't react specific and should likely be on the carbon-components repo.
To addon on, I believe this was introduced here: https://github.com/IBM/carbon-components/commit/68ebbf08efda9c0e72eec7fe9b2f2faecf081e07#diff-7d060f0de834605549e53642b938c9c2
We would only set the placeholder color for webkit browsers and let firefox do it's own thing. Once we started explicitly setting the color for firefox as well, the 0.5 opacity rule made it illegible.
placeholder text should be using the V9 color token $text-03 to update the color will need to update the theme value associated with it.
@vpicone are you recommending we set the placeholder value using an opacity instead of a solid hex color?
@aagonzales setting the opacity to 1 on placeholders would override firefox's browser-level setting.
We could do that as part of the reset, or in the placeholder rules. But I think it should probably be done in the carbon-components repo. Here's the rule working in firefox.

Moved the issue as per @vpicone 's suggestion.
:tada: This issue has been resolved in version 9.84.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@dakahn Hi, do you know how to verify this on Firefox? I have not seen the fix deployed on to Cloud yet.
@panlei080988 you can test against the deployed preview in the closing PR
https://github.com/IBM/carbon-components/pull/2038#issuecomment-471479488
@dakahn Do you mean test on https://deploy-preview-2038--the-carbon-components.netlify.com?
If yes, I just want to confirm whether it will reflect on Firefox in future. I have to verify in firefox to close the origin issue.
@panlei080988 yep!