mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 10:51:27 +01:00
Add accessibility labels for media preview and emojis.
Fixes #14034 Resolves #14037
This commit is contained in:
@@ -141,6 +141,7 @@ public class EmojiPageViewGridAdapter extends MappingAdapter implements PopupWin
|
||||
public void bind(@NonNull EmojiModel model) {
|
||||
final Drawable drawable = EmojiProvider.getEmojiDrawable(imageView.getContext(), model.emoji.getValue());
|
||||
|
||||
imageView.setContentDescription(model.emoji.getValue());
|
||||
if (drawable != null) {
|
||||
imageView.setVisibility(View.VISIBLE);
|
||||
imageView.setImageDrawable(drawable);
|
||||
|
||||
Reference in New Issue
Block a user