@@Rolf B
Du müsstest die outerHTML Eigenschaft kopieren.
Ja, damit ist das schnell gemacht: Warschau 1
Dann kommt auch das obligatorische alt-Attribut mit.
Hm, und wenn da kein Alternativtext ist? Dann könnte man sich den aus der Bildunterschrift rausholen. Dann muss man sich das img-Element zusammenbasteln: Warschau 2
Es sei denn, es ist eine Verknüpfung vom Bild zur Bildunterschrift mit aria-describedby (oder aria-labelledby) vorhanden; die geht dann bei outerHTML auch mit zum Thumbnail: Warschau 3
🖖 Live long and prosper
--
“Space: the final frontier. Above us. Around us. Within us.
We have always looked to the stars to discover who we are.”
— Michael Burnham in Star Trek: Discovery S2:E1
“Space: the final frontier. Above us. Around us. Within us.
We have always looked to the stars to discover who we are.”
— Michael Burnham in Star Trek: Discovery S2:E1