Skip to content

Commit

Permalink
Merge pull request #8047 from wordpress-mobile/issue/8046-stock-libra…
Browse files Browse the repository at this point in the history
…ry-content-description

Add content description to images in StockLibrary
  • Loading branch information
khaykov authored Jul 18, 2018
2 parents d39433b + f6bace6 commit 1a8a3ba
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,8 @@ public void onBindViewHolder(StockViewHolder holder, int position) {
String imageUrl = PhotonUtils.getPhotonImageUrl(media.getThumbnail(), mThumbWidth, mThumbHeight);
holder.mImageView.setImageUrl(imageUrl, WPNetworkImageView.ImageType.PHOTO);

holder.mImageView.setContentDescription(media.getTitle());

boolean isSelected = isItemSelected(position);
holder.mSelectionCountTextView.setSelected(isSelected);
if (enableMultiselect()) {
Expand Down

0 comments on commit 1a8a3ba

Please sign in to comment.