Feature request: Allow the aria-label of SearchBox input to be translated #6450
Unanswered
huyenltnguyen
asked this question in
Ideas
Replies: 1 comment
|
Yes that makes sense as a first step. Happy to accept a PR that adds the key for search box (and probably also refinement list) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
The
aria-labelof SearchBox'sinputelement is currently:instantsearch/packages/react-instantsearch/src/ui/SearchBox.tsx
Line 197 in d68f02c
And the
translationsAPI is only accepting button titles:instantsearch/packages/react-instantsearch/src/ui/SearchBox.tsx
Lines 47 to 56 in d68f02c
I'm wondering if aria-label text could be added to the translation list, the property could probably be named
inputAriaLabel.There seems to be some discussions regarding this feature in the past:
All reactions