News for hackers. Stuff that matters.
Re:Top validation errors by kalleboo on Tuesday June 19, 2012 @07:42AM (#4131267)
But if they leave out alt="", then they won't validate. What are they supposed to do, force the user to enter text? Then you'll end up with alt="sldfjsjf".
Re:Top validation errors by olavk on Wednesday June 20, 2012 @07:54AM (#4136541)
No, it is correct according to the HTML5 spec to leave out the alt-attribute if there is no valid alternative text available.