Skip to content

alt attribute should contain the Unicode emoji #4

@Crissov

Description

@Crissov

The alt attribute should contain the Unicode emoji and only that, the current descriptive text may be used in the title attribute.

<g-emoji fallback-src="t-rex.png" alias="T-Rex">🦖</g-emoji>

currently yields

<g-emoji fallback-src="t-rex.png" alias="T-Rex">
  <img class="emoji" alt="T-Rex" height="20" width="20" src="t-rex.png">
</g-emoji>

but should result in

<g-emoji fallback-src="t-rex.png" alias="T-Rex">
  <img class="emoji" alt="🦖" title="T-Rex" height="20" width="20" src="t-rex.png">
</g-emoji>

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions