41.0yr2koavf in web_designAlt Text: Not Always Needed | CSS-Trickshttps://css-tricks.com/alt-text-not-always-needed/
orockwell @lemmy.world - 1.0yrThis is incorrect and against the w3c spec. Use role="presentation" or aria-hidden="true" if it's not needed -1
Justin (koavf)🌻🍉🇪🇭🌿 - 1.0yrThe W3C explicitly say that decorative images can have empty alt tags: https://www.w3.org/WAI/tutorials/images/decision-tree/ and https://www.w3.org/WAI/tutorials/images/decorative/ 1
koavf in web_design
Alt Text: Not Always Needed | CSS-Tricks
https://css-tricks.com/alt-text-not-always-needed/This is incorrect and against the w3c spec. Use role="presentation" or aria-hidden="true" if it's not needed
The W3C explicitly say that decorative images can have empty alt tags: https://www.w3.org/WAI/tutorials/images/decision-tree/ and https://www.w3.org/WAI/tutorials/images/decorative/