222
Mozilla Firefox new alt-text generator powered by "fully private on-device AI model"
(hacks.mozilla.org)
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
Yes you can use both but I've seen some front end developers blank out
alt
altogether when they are usingfigcaption
.I did not find this practice in MDN Web Docs but I found it in an other place:
I was just wondering what Mozilla's method was for finding these images and if they took other things in to consideration like decorative images.
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 thatfigcaption
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], …
So
figcaption
takes priority overimg
alt
.Thanks for the info. The Accessible name calculation page is really interesting.
Where is that quote from?
I put a link after the quote. That's the source.
I don't see a link. Post content source is empty too.
screenshot 1
screenshot 2
https://www.boia.org/blog/should-you-include-alt-text-for-pictures-with-captions
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.
I looked through the beehaw instance and I saw what you had screenshot. You are right. It is not your browser, it is the instance.
Currently they currently on 0.18.4. Infosec.pub is currently on 0.19.3. Maybe that's the issue...
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.