463
Good news, EU citizens!
(lemmy.world)
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
[Matrix/Element]Dead
much thanks to @gary_host_laptop for the logo design :)
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.
That sounds like a great idea, in that case, but I know 0 about HTML, I just make systems run. Where do we go to suggest something like it? Lemmy is a whole new thing for me so...
Not sure what you mean. Just type the alt in markdown
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.
Here's an extreme case example why markdown isn't great for this purpose. Also, not every client renders the markdown the same, Lemmy has no standardized markdown syntax/implementation. For example, my client won't render your example the way you think it will; it renders the link at the end in text and has a
[
before the image, and my client hates new lines in markdown alt-text. If you use\
in the alt-text, it render the image twice, and if you use a blank newline it will not render at all.HTML is a pretty damn nailed down standard and can already properly handle Alt-text.