Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

feat(searchbox): add aria-label #104

Closed
wants to merge 1 commit into from
Closed

feat(searchbox): add aria-label #104

wants to merge 1 commit into from

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Dec 20, 2019

See: https://github.com/algolia/react-instantsearch/issues/2863 (doesn't fix this fully, but it's a start)

Haroenv added a commit to algolia/instantsearch that referenced this pull request Dec 20, 2019
@Haroenv Haroenv requested a review from a team December 20, 2019 16:15
Copy link
Member

@francoischalifour francoischalifour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Haroenv
Copy link
Contributor Author

Haroenv commented Dec 23, 2019

That makes sense @francoischalifour, I'll add aria. Note that in this spec we mix translations and other props, since it's only React InstantSearch so far which has them

@sarahdayan
Copy link
Member

sarahdayan commented Dec 12, 2022

@Haroenv In React InstantSearch Hooks we started adding translations for aria-* (see <Pagination>)—we could add similar translations for <SearchBox>.

In InstantSearch.js we support translations with the Templates API, so we could introduce new templates for it.

Should we merge it, then reflect it later in our libraries?

@Haroenv
Copy link
Contributor Author

Haroenv commented Dec 12, 2022

Yes, that would be doable. I think I'd be more comfortable merging when we're ready to implement the change though

@sarahdayan
Copy link
Member

That's fair, and will probably be easier to enforce once all code lives together.

I'll leave this open so I can have a list of PRs to reopen once the migration is effective. Since this is a breaking change I'll make this an issue to avoid long-lived PRs that get out of date and require more work than necessary.

@sarahdayan
Copy link
Member

Referred this PR in algolia/instantsearch#5188, closing it here before archiving.

@sarahdayan sarahdayan closed this Dec 15, 2022
@sarahdayan sarahdayan deleted the feat/aria-label branch December 15, 2022 11:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants