IllNess, 21 days ago (edited 21 days ago) Yes you can use both but I’ve seen some front end developers blank out alt altogether when they are using figcaption. I did not find this practice in MDN Web Docs but I found it in an other place: If you’re using an image that has a caption, it may not need alt text if the caption contains all of the relevant visual information. boia.org/…/should-you-include-alt-text-for-pictur… 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.
Yes you can use both but I’ve seen some front end developers blank out alt altogether when they are using figcaption.
alt
figcaption
I did not find this practice in MDN Web Docs but I found it in an other place:
If you’re using an image that has a caption, it may not need alt text if the caption contains all of the relevant visual information.
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.