W3C home > Mailing lists > Public > www-validator@w3.org > March 2014

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

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 28 Mar 2014 20:16:38 +0200
Message-ID: <5335BC86.3080202@cs.tut.fi>
To: "j.j." <moz@jeka.info>, www-validator@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:10 UTC