@[email protected]M to Web [email protected] • 2 months agoAlt Text: Not Always Needed | CSS-Trickscss-tricks.comexternal-linkmessage-square2fedilinkarrow-up15arrow-down11cross-posted to: [email protected]
arrow-up14arrow-down1external-linkAlt Text: Not Always Needed | CSS-Trickscss-tricks.com@[email protected]M to Web [email protected] • 2 months agomessage-square2fedilinkcross-posted to: [email protected]
minus-square@orockwelllink-1•2 months agoThis is incorrect and against the w3c spec. Use role=“presentation” or aria-hidden=“true” if it’s not needed
minus-square@[email protected]OPMlinkfedilink2•2 months agoThe 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/
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/