govuk_publishing_components icon indicating copy to clipboard operation
govuk_publishing_components copied to clipboard

Search component: input with value and inline label overlap

Open kr8n3r opened this issue 5 years ago • 0 comments

When an input in the search component has a value and an inline label, they overlap until the input receives focus (which is done by javascript and z-index is set)

Examples Screenshot 2020-02-26 at 15 55 01

Screenshot 2020-02-28 at 11 10 47 Screenshot 2020-02-05 at 14 32 26

See it in action https://www.gov.uk/search/all?keywords=components

Should we move to a hidden label and placeholder text for this arrangement or remove this option entirely?

kr8n3r avatar Feb 05 '20 14:02 kr8n3r