News for hackers. Stuff that matters.
Re:Show HN: MAWD – Simple web accessibility testing for deve... by fionatg on Wednesday September 12, 2018 @06:04AM (#17966988)
The image is basically there to be decorative. In that scenario, an empty alt attribute is used to inform assistive technology that yes, there is an image here, but it isn't adding any further information. It's actually one of the main things that MAWD helps with right now.

Putting alt text on all the images of random cats on a website only adds value to people if the cats are at all relevant to the content :)

https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/H67

Re:Show HN: MAWD – Simple web accessibility testing for deve... by majora2007 on Thursday September 13, 2018 @11:49AM (#17979541)
Wouldn't adding role="presentation" be good for an image that is purely for decoration?