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 16985 - 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: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 trivial
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 18:21 UTC by Addison Phillips
Modified: 2012-10-14 12:39 UTC (History)
7 users (show)

See Also:


Attachments

Description Addison Phillips 2012-05-07 18:21:14 UTC
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?
Comment 1 Ian 'Hixie' Hickson 2012-05-08 00:30:40 UTC
Do we really expect people to give it?
Comment 2 Addison Phillips 2012-05-08 00:41:12 UTC
(In reply to comment #1)
> Do we really expect people to give it?

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.
Comment 3 Ian 'Hixie' Hickson 2012-05-10 17:53:23 UTC
I can certainly add a note encouraging people to specify it. I doubt it'll have any effect though.
Comment 4 contributor 2012-07-18 07:08:56 UTC
This bug was cloned to create bug 17867 as part of operation convergence.
Comment 5 Silvia Pfeiffer 2012-10-14 12:39:49 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If
you are satisfied with this response, please change the state of
this bug to CLOSED. If you have additional information and would
like the Editor to reconsider, please reopen this bug. If you would
like to escalate the issue to the full HTML Working Group, please
add the TrackerRequest keyword to this bug, and suggest title and
text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this
document:   http://dev.w3.org/html5/decision-policy/decision-policy-v2.html

Status: Accepted
Change Description:
https://github.com/w3c/html/commit/758057675c752a1da6e126718348e778f4f25c35
Rationale: accepted WHATWG change