This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
fix(input): increase placeholder contrast on focus - #9804
Merged
kara merged 1 commit intoOct 13, 2016
Merged
Conversation
According to Material Design spec and a11y accessibility, a focused text field should have a secondary text opacity * Change input placeholder color from foreground-3 to foreground-2 on focus Fixes angular#8903
Contributor
Author
|
See https://material-design.storage.googleapis.com/publish/material_v_9/0Bzhp5Z4wHba3SjZ2SkgwTERaVkU/components_textfields_single4.png to see that focused elements have darker placeholder text
Contrast levels should be at least 4.5 for focused elements and this change will push the placeholder up from 2.7 to 4.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






According to Material Design spec and a11y accessibility, a focused
text field should have a secondary text opacity
Fixes #8903