Fix invisible input content when changing colours #397
When overwriting colours via browser settings, Firefox and IE always default to black text in form fields, irrespective of said settings.
It seems counterintuitive but due to browser bugs (which I will report) it is necessary to remove the
What problem does the pull request solve?
It makes text within form fields accessible to partially sighted users who change their browser's colour settings in IE or Firefox.
What does it do?
It removes the transparent background from input fields.
How has this been tested?
I tested this in
Screenshots (if appropriate):
(Please ignore the buttons in those screenshots, I will open a different PR for that. Also ignore the wrong font.)
Before, i.e. showing the bug
After, i.e. with fix
What type of change is it?
referenced this pull request
Jan 30, 2017
In your example, if I set the
That only happens because I've set the input's colour to
I just chatted to @nickcolley separately. His concern is either services using different colours or users using user stylesheets. In both cases the fact that we have
The form control colour was set to
I personally don't think it's worth removing
I just filed a bug report for the issue in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1335476
Prompted by another unrelated bug report, I will change this PR to remove the