Lemmy needs to add real alt-text functionality, putting in the body works, sure; but it’s not going to work out for posts that have both post text and images in the body. Such as someone posting text along with additional screenshots.
Alt-text should be hidden visually, but readable by screen readers.
Huh. Would that be a good solution, like a hover popup you mean? I’m not into CSS. Will screen readers get that? Shouldn’t be crazy difficult to make a bot otherwise, screen reader scans images for text on request by poster or automatically. We have bots here right?
No. Basically just hidden/invisible text that only a screen reader would see.
You’d just upload an image and type alt-text in a box, hit enter and the alt-text would be added to the HTML of the page but not rendered and the image would be added to the markdown as usual, when the screen reader gets to the image, instead of just skipping over it, it’d pull the hidden text from the HTML and read that.
Doing it in markdown isn’t a great solution, that’s more for hover text then anything. Having a bunch of text in markdown Alt-text clogs the hell out of the post body and makes it harder to copy the raw markdown if you’re not trying to grab a fuck load of additional text.
Lemmy needs to add real alt-text functionality, putting in the body works, sure; but it’s not going to work out for posts that have both post text and images in the body. Such as someone posting text along with additional screenshots.
Alt-text should be hidden visually, but readable by screen readers.
Huh. Would that be a good solution, like a hover popup you mean? I’m not into CSS. Will screen readers get that? Shouldn’t be crazy difficult to make a bot otherwise, screen reader scans images for text on request by poster or automatically. We have bots here right?
No. Basically just hidden/invisible text that only a screen reader would see.
You’d just upload an image and type alt-text in a box, hit enter and the alt-text would be added to the HTML of the page but not rendered and the image would be added to the markdown as usual, when the screen reader gets to the image, instead of just skipping over it, it’d pull the hidden text from the HTML and read that.
See HTML Accessibility.
Not sure what you mean. Just type the alt in markdown
[![alt_text_here](image.jpg)](https://example.com/some/page)
Doing it in markdown isn’t a great solution, that’s more for hover text then anything. Having a bunch of text in markdown Alt-text clogs the hell out of the post body and makes it harder to copy the raw markdown if you’re not trying to grab a fuck load of additional text.
See HTML Accessibility.