This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17867 - i18n-ISSUE-126: Health warning about lang attribute in 4.1
Summary: i18n-ISSUE-126: Health warning about lang attribute in 4.1
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:08 UTC by contributor
Modified: 2012-09-28 18:44 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:08:53 UTC
This was was cloned from bug 16985 as part of operation convergence.
Originally filed: 2012-05-07 18:21:00 +0000
Original reporter: Addison Phillips <addison@lab126.com>

================================================================================
 #0   Addison Phillips                                2012-05-07 18:21:14 +0000 
--------------------------------------------------------------------------------
4.1 The root element
http://www.w3.org/TR/html5/semantics.html#the-root-element

It's good that the example shows a 'lang' attribute. Can there (should there) be a health warning that @lang is expected here?
================================================================================
 #1   Ian 'Hixie' Hickson                             2012-05-08 00:30:40 +0000 
--------------------------------------------------------------------------------
Do we really expect people to give it?
================================================================================
 #2   Addison Phillips                                2012-05-08 00:41:12 +0000 
--------------------------------------------------------------------------------
We expect people to give it elsewhere. Providing it here give a hint to the user agent when drawing the browser's title bar or the tab title which can improve the font choices/render quality, especially if the title element doesn't match the language of the <html> element.
================================================================================
 #3   Ian 'Hixie' Hickson                             2012-05-10 17:53:23 +0000 
--------------------------------------------------------------------------------
I can certainly add a note encouraging people to specify it. I doubt it'll have any effect though.
================================================================================
Comment 1 contributor 2012-09-28 18:44:54 UTC
Checked in as WHATWG revision r7421.
Check-in comment: Encourage lang='' on root element.
http://html5.org/tools/web-apps-tracker?from=7420&to=7421