W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2004

[wcag2] Language definition ('lang'/'xml:lang')

From: Jens Meiert <jens.meiert@erde3.com>
Date: Tue, 24 Feb 2004 15:38:21 +0100 (MET)
To: "W3C WAI" <w3c-wai-gl@w3.org>
Message-ID: <13945.1077633501@www24.gmx.net>

Hi all,


I want to emphasize the importance of an appropriate WAI statement related
to language definition again (although there already is a request by Ben
Caldwell [1]), since the WCAG still say

    'If you use a number of different languages on a page, make sure
    that any changes in language are clearly identified by using the
    lang attribute.' [2]

This makes it impossible to 'validate' a document against these guidelines
when it's XHTML 1.1 compliant, since XHTML 1.1 clearly imposes

    'On every element, the lang attribute has been removed in favor
    of the xml:lang attribute (as defined in [XHTMLMOD]).' [3]

consequently throwing an error if you use the 'lang' attribute. Due to the
increasing amount of XHTML 1.1 documents it seems absolutely necessary to
adapt the guidelines, not only to demonstrate the technical sensitiveness ;)


All the best,
 Jens.


[1] http://trace.wisc.edu/bugzilla_wcag/show_bug.cgi?id=578
[2] http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-HTML-TECHS/#lang-att_change
[3] http://www.w3.org/TR/xhtml11/changes.html


-- 
Jens Meiert
Interface Architect

http://meiert.com/
Received on Tuesday, 24 February 2004 09:38:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:17:55 UTC