Skip to content

Commit 5d307e3

Browse files
author
Adriana Evangelista
committed
fix
1 parent 965c4d1 commit 5d307e3

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added aria-label to search-bar input
13+
1014
## [3.176.3] - 2025-02-28
1115

1216
### Added
1317

14-
- Added aria-label to search-bar input
1518
- Alternative text to infocard link
1619

1720
## [3.176.2] - 2025-02-03

messages/context.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,5 @@
194194
"admin/editor.search-bar.title": "Search bar",
195195
"admin/editor.search-bar.placeholder.title": "Placeholder",
196196
"store/back-to-top.label": "Back to top",
197-
"store/search.input-label": "Label of search input"
197+
"store/input-search.aria-label": "Search for products"
198198
}

messages/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,5 @@
200200
"admin/editor.toTop.description": "When clicked, it scrolls the page to the top",
201201
"admin/editor.toTop.topPixel.title": "Number of pixels",
202202
"admin/editor.toTop.topPixel.description": "When the defined pixel value is exceeded, the return-to-top button will appear",
203-
"store/search.input-label": "Search for products"
203+
"store/input-search.aria-label": "Search for products"
204204
}

react/components/SearchBar/AutocompleteInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function AutocompleteInput({
250250
error={Boolean(inputErrorMessage)}
251251
errorMessage={inputErrorMessage}
252252
onSubmit={onGoToSearchPage}
253-
aria-label={intl.formatMessage({ id: 'store/search.input-label' })}
253+
aria-label={intl.formatMessage({ id: 'store/input-search.aria-label' })}
254254
/>
255255
</div>
256256
</form>
@@ -269,7 +269,7 @@ function AutocompleteInput({
269269
{...restProps}
270270
error={Boolean(inputErrorMessage)}
271271
errorMessage={inputErrorMessage}
272-
aria-label={intl.formatMessage({ id: 'store/search.input-label' })}
272+
aria-label={intl.formatMessage({ id: 'store/input-search.aria-label' })}
273273
/>
274274
</div>
275275
</div>

0 commit comments

Comments
 (0)