Re: Error checking attribute ALT

Henri Sivonen wrote:

> The HTML5 spec

There is no such thing. A specification is a published, complete document 
expressing some consensus. There is no "HTML5 spec" comparable to HTML 2.0. 
HTML 3.2, HTML 4.0, HTML 4.01, XHTML 1.0 or XHTML 1.1 specifications.

> says that alt is allowed on <input> only if it has
> type=image. What's odd about checking for that constraint in an HTML5
> validator?

The odd thing is checking a constraint that has not been defined in a 
published specification in a rigorous formalized manner.

> What's confusing people about the issue of markup validation?

"HTML5", for one thing.

Not that is was really needed. People were quite successful in confusing 
themselves without the aid of adchockery kludges like "HTML5" and "HTML5 
validation".

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 

Received on Wednesday, 13 May 2009 16:41:42 UTC