News for hackers. Stuff that matters.
Re:Top validation errors by pornel on Saturday June 16, 2012 @08:47AM (#4120520)
No, it allows screen readers to distinguish between potentially important images with missing alt (author didn't care) and images that are known to be unimportant (author explicitly specified it).
Re:Top validation errors by kalleboo on Saturday June 16, 2012 @02:04PM (#4121171)
And requiring alt means you lose that signal, since content providers will continue to be lazy and leave the alt blank, so now all images look like they're decorative, instead of some being "we don't know".

You can't solve a social problem (content providers who don't care) with a technical limitation (required alt tags).

Re:Top validation errors by olavk on Saturday June 16, 2012 @04:22PM (#4121507)
If a content provider don't care about accessibility, why would they care about validation? They can leave out the alt-attribute whether it is required by the spec or not.
Re:Top validation errors by kalleboo on Sunday June 17, 2012 @06:27PM (#4124018)
Because they're all using wordpress/blogger/etc which put it in for them.
Re:Top validation errors by olavk on Monday June 18, 2012 @09:24AM (#4126268)
If the developers lets these tools insert `alt=""` per default with all images, then they are not in compliance with the spec.
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.