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

Associate the plugin search input with its label #2398

Merged
merged 2 commits into from
Mar 4, 2024
Merged

Conversation

36degrees
Copy link
Contributor

@36degrees 36degrees commented Feb 26, 2024

I was having a quick look to see if any issues were listed in developer tools for #2393 and noticed this was being flagged.

The search input on the plugin list page does not have a programatically label because the label is not currently associated with the input.

Rather than using the separate govukLabel macro, pass the label options to the govukInput macro and let it take care of associating the label for us.

We can also use the govuk-label--s modifier rather than a font weight override.

@36degrees 36degrees added this to the [next] milestone Feb 28, 2024
The search input on the plugin list page does not have a programatically label because the label is not currently associated with the input.

Rather than using the separate `govukLabel` macro, pass the label options to the  `govukInput` macro and let it take care of associating the label for us.

We can also use the `govuk-label--s` modifier rather than a font weight override.
@36degrees 36degrees merged commit 74941c2 into main Mar 4, 2024
30 checks passed
@36degrees 36degrees deleted the plugin-search-input branch March 4, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants