i’m probably going to start putting alt text for images in the actual text content of the post since wasteof doesn’t have alt text yet

i don’t really post images a lot, but this is just for information if you get confused why i’m doing it suddenly

technical explanation

when you attach images, you use the markdown code ![alt](url), which works in the editor, but once it’s posted, the alt text is removed because jeffalo uses dompurify which allowlists certain tags, attributes, and attribute values ( the img tag is allowed, but the alt attribute is not). this will probably be fixed in wasteof4, since jeffalo has said he’s improving image upload support in that version

comments

i wonder if alt text works when an image loads technically, but redirects. my school blocks cubeupload so i cant see many images

i don’t really understand your question? alt text works when you’re writing (when you do the ![alt text](url to image) thing, but once you post it, the wasteof api deletes the alt text.

my school blocks cubeupload. what im wondering if (if jeffalo adds alt text) it would work if cubeupload is blocked (since it redirects to a generic “PAGE HAS BEEN BLOCKED BY YOUR ADMINISTRATOR(S)” page)

yeah, if your computer can’t load the image the alt text shows instead (you can actually prove this by typing ![some alt text](an invalid url) into the post editor but not posting it)