USWDS - Forms: Remove high-contrast disabled border from %block-input-styles #5397
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.
Summary
Fixed a bug that caused standard text input variants to show disabled styles in forced colors mode. Now the disabled border color only shows when the element is disabled.
Breaking change
This is not a breaking change.
Related issue
Closes #5396
Related pull requests
Changelog →
Preview link
Preview link:
Problem statement
Text input form elements in high contrast mode display the disabled border by default.
Solution
Removed the disabled high contrast border mixin from the
%block-input-styles
placeholder. This prevents the disabled border by default for text input elements.Testing and review
Testing checklist