News for hackers. Stuff that matters.
Re:Next.js 13 by randomguy0 on Tuesday October 25, 2022 @03:55PM (#33335350)
Because that’s how screen readers know the image is decorative. It literally is/improves accessibility.
Re:Next.js 13 by lghh on Tuesday October 25, 2022 @05:18PM (#33336302)
Additionally, the developer is more likely to actually write alt text when it's not decorative.
Re:Next.js 13 by Vinnl on Wednesday October 26, 2022 @02:48AM (#33340562)
Although I must admit, I've also seen such rules leading to developers writing alt text for decorative images, and I'm not sure if that's much better.