IMG element ALT attribute not honored when copying to clipboard

Confirmed Issue #13921866 • Assigned to Grisha L.

Details

Author
Richard S.
Created
Sep 24, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
16.16296
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

When copying from a web page, the text clipboard formats contain no content for IMG elements. The IMG element graphic should be replaced with the alt attribute value if present. As described at https://www.w3.org/wiki/HTML/Elements/img, the alt attribute contains the fallback content.

To see a good example where this fails utterly, open http://unicode.org/emoji/charts/emoji-zwj-sequences.html and scroll down to the heading "Character list for copying". Copy all of the emoji images in this section. The text clipboard formats contain only spaces. All of these emoji have the emoji character sequences as the value of the alt attribute. If this worked correctly, the text clipboard format would contain all the emoji.

Attachments

Comments and activity

  • I forgot to mention that Chrome 61 does this correctly, at least on RS3 16296.

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “wptcomptri@microsoft.com”

    Changed Assigned To to “Grisha L.”

    Changed Status to “Confirmed”

You need to sign in to your Microsoft account to add a comment.

Sign in