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

How to update the text (one suggestion):

At 09:38 AM 2004-02-24, Jens Meiert wrote:

>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]

So: in the prose, say

      ... are clearly identified, using the appropriate markup
      attribute.

Then insert a short table indicating what the appropriate markup element
is for sample formats noting the change between HTML 4.01 and XHTML 1.1.
Link to the EO literature of the i18n group for more.

  W3C I18N: Language tagging in HTML and XML
  http://www.w3.org/International/O-HTML-tags.html

Al

>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 10:55:40 UTC