github / github/g-emoji-element

alt attribute should contain the Unicode emoji

Open
#4 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
144
Forks
19
Avg merge
1d 18h
Merged PRs (30d)
4

Description

The `alt` attribute _should_ contain the Unicode emoji and only that, the current descriptive text _may_ be used in the `title` attribute.

```` html
🦖
````

currently yields

```` html

T-Rex

````

but should result in

```` html

🦖

````

I noticed this problem when trying to copy and paste rendered comments where I did not get the emoji as expected even though the other environment supported emojis.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.