DEV Community

Discussion on: CSS can help improve your HTML⁉ - Ep 1: alt attributes

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

I said that it isn’t required within the article, it is a way of signalling that the alt attribute should indeed be empty to developers (and to protect against developers adding content unnecessarily). Certainly not required but something I like to do to help avoid a mess in the future.