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

Commit

Permalink
fix(PoweredBy): add a label to the Algolia logo (#216)
Browse files Browse the repository at this point in the history
The label says "Algolia", since the text before it is "powered by "
  • Loading branch information
Haroenv authored and mthuret committed Jul 27, 2017
1 parent 9ba70f6 commit cd235bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/react-instantsearch/src/components/PoweredBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ class PoweredBy extends Component {
<span {...cx('searchBy')}>
{translate('searchBy')}{' '}
</span>
<a href={url} target="_blank" {...cx('algoliaLink')}>
<a
href={url}
target="_blank"
{...cx('algoliaLink')}
ariaLabel="Algolia"
>
<AlgoliaLogo />
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ exports[`PoweredBy applies translations 1`] = `
</span>
<a
ariaLabel="Algolia"
className="ais-PoweredBy__algoliaLink"
href="url"
target="_blank"
Expand Down Expand Up @@ -66,6 +67,7 @@ exports[`PoweredBy default 1`] = `
</span>
<a
ariaLabel="Algolia"
className="ais-PoweredBy__algoliaLink"
href="url"
target="_blank"
Expand Down

0 comments on commit cd235bd

Please sign in to comment.