R: Additional thoughts on language specification

-----Messaggio originale-----
Da: public-wcag-teamb-request@w3.org
[mailto:public-wcag-teamb-request@w3.org] Per conto di Yvette Hoitink
Inviato: marted́ 13 settembre 2005 16.51
A: public-wcag-teamb@w3.org
Oggetto: RE: Additional thoughts on language specification



> Roberto Scano:
> Here there are some tests:
> [fix] http://www.w3.org/International/tests/results/lang-decl

Thanks Roberto, this is extremely helpful.

>From the discussion so far, I think we can go ahead and and have two
sufficient techniques: the lang-attribute of the HTML element (if HTML 4 is
in the baseline) 
and the xml:lang attribute of the HTML element (if XHTML 1+ is in the
baseline). Within the last technique we could recommend using the
lang-attribute as well for backward compatibility, although that would not
be required for conformance.

Roberto Scano:
Be aware that XHTML 1.1 hasn't "lang" attribute inside DTD and that
lang="xx" in XHTML 1.0 should be used only if served as text/html (using
xml:lang when served as application/xhtml+xml.

Yvette:
In addition to specifying the language using lang or xml:lang, we can have
two further optional techniques to indicate the primary language in the HTTP
headers or in the META tag but these techniques are not sufficient to
conform. Do we have a place for HTTP header techniques? We might need an
orphaned techniques document to put techniques that don't have a home yet. 

Roberto Scano:
The question is: did we have techniques for HTTP?

Received on Wednesday, 14 September 2005 09:01:55 UTC