#37433 closed defect (bug) (invalid)
Emoji not encoded properly in alt text for images
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.6 |
Component: | Emoji | Keywords: | has-screenshots |
Focuses: | accessibility | Cc: |
Description (last modified by )
When viewing the page source of https://wordpress.org/news/2016/07/wordpress-4-6-beta-4/ (specifically, the emoji item), the alt text of the rendered emoji displays as an empty box, not at all, or the Unicode entity number (depending on the browser) instead of the expected image. Skin tone modifiers display fine, though.
I don't know if that's a flaw in the browser, lack of OS support, or in the html_entity_decode( $emoji )
function call.
This happens for me on OS X 10.11.6 running Chrome 51.0.2704.84 and Safari 9.1.2, and Firefox 47.0.1.
Attachments (3)
Change History (7)
#2
@
7 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
That's expected because there is no OS yet which supports native display of Unicode 9 characters.
#3
@
7 years ago
It's also worth noting that using the emoji character in the alt
attribute (vs a HTML encoded entity, or the emoji description) is a deliberate usability decision in Twemoji.
Chrome