[html5] Should an empty title give an (X)HTML5 validation error?
mike at w3.org
Tue Apr 4 00:50:30 PDT 2017
Gonzalo HIGUERA DÍAZ <gonhidi at gmail.com>, 2017-04-04 09:34 +0200:
> The (X)HTML5 validators[1,2] mark an empty title as an error. The only
> explicit reference I have found to such a requirement is the 2013-08-06 W3C
> version of the standard.
The requirement is here:
> Content model:
> Text that is not inter-element whitespace.
> The ASCII whitespace are always allowed between elements. User agents
> represent these characters between elements in the source markup as Text
> nodes in the DOM. Empty Text nodes and Text nodes consisting of just
> sequences of those characters are considered inter-element whitespace.
So that means the `title` element must contain at least one character that
is not a whitespace character.
> Should the behaviour of the validator be changed?
The validator conforms to the above spec requirement.
> Also, is this the appropriate place to discuss this? The validator's about
> page suggests discussing such issues here, but the information seems a
> little out of date and it looks like development is happening at the GitHub
https://github.com/validator/validator is the right place to report
possible bugs in the HTML checker (validator) or even to ask questions.
Asking such questions on this list is fine too
>  http://validator.w3.org/
>  https://html5.validator.nu/
>  https://about.validator.nu/
>  https://github.com/validator/validator
Michael[tm] Smith https://people.w3.org/mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: not available
More information about the Help