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) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
The
aria-label
of SearchBox'sinput
element is currently:instantsearch/packages/react-instantsearch/src/ui/SearchBox.tsx
Line 197 in d68f02c
And the
translations
API 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:
Beta Was this translation helpful? Give feedback.
All reactions