github / github/g-emoji-element
alt attribute should contain the Unicode emoji
Open
- 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
![]()
````
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
Assessment
This issue has not been assessed yet.