Skip to content

Commit

Permalink
Merge pull request #1727 from alphagov/search-input-label
Browse files Browse the repository at this point in the history
Update search component input label
  • Loading branch information
danacotoran authored Oct 12, 2020
2 parents ba4063c + 9d6a8bb commit d19e71c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
## Unreleased

* Feed subscription link accessibility fix ([PR #1721](https://github.com/alphagov/govuk_publishing_components/pull/1721))
* Update search component input label ([PR #1727](https://github.com/alphagov/govuk_publishing_components/pull/1727))

## 21.68.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

value ||= ""
id ||= "search-main-" + SecureRandom.hex(4)
label_text ||= "Search GOV.UK"
label_text ||= "Search on GOV.UK"
name ||= 'q'
aria_controls ||= nil
%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<form id="search" class="gem-c-layout-header__search-form govuk-clearfix" action="/search" method="get" role="search">
<%= render "govuk_publishing_components/components/search", {
id: "site-search-text",
label_text: "Search",
no_border: true,
margin_bottom: 0
} %>
Expand Down

0 comments on commit d19e71c

Please sign in to comment.