Re: [w3c/FileAPI] Should some files provide an alt? (Issue #215)

karlcow left a comment (w3c/FileAPI#215)

Another similar case is Copy/Paste.
The clipboard API has the possibility of having multiple representations in the DataTransfer for ONE object. 
https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransfer-items

For example, copying an image collect the image data, and the URL in Safari (which creates webcompat issues, but that's another questions).

The WebShare API is slightly different 
https://w3c.github.io/web-share/#sharedata-dictionary

How to reconcile the multiple `files` with the need for multiple alt. 

To summarize:

* Clipboard API: One thing with multiple representations.
* WebShare: One Context with multiple simplistic things.

I wonder if `alt` is one of multiple representations for an image.  







-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/215#issuecomment-3525542963
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/issues/215/3525542963@github.com>

Received on Thursday, 13 November 2025 05:44:40 UTC