Firefox 130 will feature an on-device AI model that automatically generates alt-text for images, integrated into its built-in PDF editor.
New accessibility feature coming to Firefox, an "AI powered" alt-text generator.
"Starting in Firefox 130, we will automatically generate an alt text and let the user validate it. So every time an image is added, we get an array of pixels we pass to the ML engine and a few seconds after, we get a string corresponding to a description of this image (see the code).
...
Our alt text generator is far from perfect, but we want to take an iterative approach and improve it in the open.
...
We are currently working on improving the image-to-text datasets and model with what we’ve described in this blog post..."
But even for a simple static page there are certain types of information, like alternative text for images, that must be provided by the author to provide an understandable experience for people using assistive technology (as required by the spec)
I wonder if this includes websites that use <figcaption> with alt emptied.
figure does not invalidate or change how img is to be used. The caption may often not but can differ from the image description. If alt describes the image, figcaption captions it.
What the fuck is Lemmy doing, breaking with HTML in code formatting?? Man it's completely broken. I committed sth so it doesn't remove the img lol.
<figure>
img src="party.jpg" alt="people partying" />
<figcaption>Me and my mates</figcaption>
</figure>
Interesting. It also made me look at the MDN docs again. img alt is consistent to that. I wasn't aware of the empty for omittable images.
I also looked at figure again, and in my interpretation it does declare that figcaption is to be used.
figure represents self-contained content. figcaption provides the accessible name for the parent. The accessible name is is the text associated with an HTML element that provides users of assistive technology with a label for the element.
The resolution order being aria-labelledby, aria-label, input[type=button][value], input[type=image]|img|area[alt], …
I think their might be something wrong with your browser or something. I tried the code blocks using spaces, tabs, and backticks, and I didn't have the img problem you had.
I also checked from a different account on a different instance on a different browser this post and I can see the link.
Given that it's not in the comment source I doubt it's a browser issue. But if you can see it… wtf
When I open the comment in your original instance context it's there. Your comment was edited. Did you edit it in? I guess it got lost between instance communication lol.
oh god, would suck if it's another broken Lemmy release
I had other formatting problems with HTML inside code blocks being removed and bleeding out of them generating other closing tags. Maybe that was also related.