Re: [VE][html5] <strike> warning should recommend using <s> instead

2014-03-28 20:03, j.j. wrote:

> The validator warns about <strike>:
>
>   "The strike element is obsolete. Use CSS instead."

Actually, it’s an error message, not a warning. This is consistent with 
HTML5 CR.

> It should recommend to use <s> instead.

HTML5 CR says:

“Use del instead if the element is marking an edit, otherwise use s 
instead.”

http://www.w3.org/TR/html5/obsolete.html#requirements-for-implementations

Of course, if <strike> has been used for presentation only, then “use 
CSS instead” is OK by HTML5 principles. But it’s difficult to imagine 
what might be a reason for overstriking other than indicating something 
as deleted or as no longer valid.

Yucca

Received on Friday, 28 March 2014 18:17:08 UTC