Skip to content
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

Fix form-control in high contrast mode #939

Merged
merged 2 commits into from
Apr 11, 2018
Merged

Conversation

rpowis
Copy link
Contributor

@rpowis rpowis commented Apr 11, 2018

Problem

In high contrast mode the input text isn't visible.

Example Screenshot

The highlighted text shows there is text in the input and it can be selected, but it's not visible.

image

Solution

Remove the background-color from inputs as per GOV.UK Elements.

Example Screenshot

image

Thanks to @grahampaulcook for discovering this issue and its fix.

@ian-leggett ian-leggett merged commit d9a3b31 into master Apr 11, 2018
@ian-leggett ian-leggett deleted the high-contrast-inputs branch April 11, 2018 13:17
hmrc-web-operations pushed a commit that referenced this pull request Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants