Re: <html dir="ltr" lang="en-US"> tag

"Jukka K. Korpela" <jkorpela@cs.tut.fi>, 2016-07-05 09:04 +0300:
> Archived-At: <http://www.w3.org/mid/b597002f-29b7-d26e-2d62-714454eaa9d8@cs.tut.fi>
> 
> 4.7.2016, 11:53, Michael[tm] Smith wrote:
> 
> > "John E. Davey" <sixa369@mwt.net>, 2016-07-02 14:02 -0500:
> > > Archived-At: <http://www.w3.org/mid/57780FE2.4050905@mwt.net>
> > > 
> > > This weekend, the validator at https://validator.w3.org/nu/ started issuing
> > > a "warning" "recommending" the addition of this <html dir="ltr"
> > > lang="en-US"> tag to my web pages.
> 
> That’s a very strange warning. Exactly how can this situation be reproduced?
> Testing with a dummy valid HTML5 document, with no dir or lang attribute, I
> get no such warning.

Currently the language identifier will only be run on a document if it has
at least 512 characters of text content.

> It seems to me that there have been some experimental changes in the
> validator, doing some natural language guessing and making suggestions on
> lang attributes.

Yeah

> And my guess is that these experiments were then removed from the
> production version, after causing some confusion.

Nope the feature is still enabled.

  —Mike

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Tuesday, 5 July 2016 07:12:28 UTC