Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
randomguy0
· 4y ago · 0 comments
Because that’s how screen readers know the image is decorative. It literally is/improves accessibility.
Comments
[–]
lghh
4y ago
Additionally, the developer is more likely to actually write alt text when it's not decorative.
[–]
Vinnl
4y ago
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.