mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 13:21:37 +01:00
[Accessibility] Emoji Picker: Support screen readers (#1803)
This commit is contained in:
parent
911d40339b
commit
5b7bda0931
@ -24,7 +24,9 @@ const EmojiButton: FC<OwnProps> = ({ emoji, focus, onClick }) => {
|
||||
onMouseDown={handleClick}
|
||||
title={`:${emoji.names[0]}:`}
|
||||
>
|
||||
{IS_EMOJI_SUPPORTED ? emoji.native : <img src={`./img-apple-64/${emoji.image}.png`} alt="" loading="lazy" />}
|
||||
{IS_EMOJI_SUPPORTED
|
||||
? emoji.native
|
||||
: <img src={`./img-apple-64/${emoji.image}.png`} alt={emoji.native} loading="lazy" />}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user