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

fix(PoweredBy): add a label to the Algolia logo #216

Merged
merged 1 commit into from
Jul 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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