You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web Share API images have optional title, but seem to be missing alt.
shareButton.addEventListener("click",async()=>{constfile=newFile(data,"some.png",{type: "image/png"});try{awaitnavigator.share({title: "Example File",files: [file],alt: "Marcos??? 🧐"// accessible text alternative for the image, equivalent to HTML alt attr});}catch(err){console.error("Share failed:",err.message);}});
The text was updated successfully, but these errors were encountered:
One would probably want alt description for each file. And a bigger issue is whether the OS sharing system supports alt or not (I don't see any support on Windows for example)
Web Share API images have optional title, but seem to be missing alt.
The text was updated successfully, but these errors were encountered: