NHSLeadership / nightingale-wp

Other
1 stars 0 forks source link

Form styling on error #202

Open marcinca opened 5 years ago

marcinca commented 5 years ago

WP nightingale colour styling on error is not working properly for the first item in the form: (see: https://seanatapp.master.qa.kops.nhsx.uk/). Section "Name" (see the attachment) which is the first input field gets highlighted with red and bold everywhere while it should be only part of the label and error message. Placeholder text and original label should remain black.

We also need to change the way required fields are labelled. We should be labelling optional fields on the assumption that everything else is required.

image