translate attribute bad value error

www-validator@w3.org:

The HTML validator reports a "bad value" error when the translate attribute is an empty string, like so:

<p translate=""></p>

The HTML5 candidate recommendation and the HTML5.1 working draft both state that the empty string should map to the "yes" state. Am I correct to assume that this means that an empty string is syntactically valid? According to the above-mentioned documents enumerated attributes are allowed to be empty strings and the translate attribute is an enumerated attribute.

http://www.w3.org/TR/html5/dom.html#attr-translate
http://www.w3.org/TR/html51/dom.html#attr-translate

Yours respectfully,
Stefán Örvar Sigmundsson

Received on Monday, 24 June 2013 05:55:26 UTC