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

RE: [techs] Fasttrack Tests

From: John M Slatin <john_slatin@austin.utexas.edu>
Date: Tue, 1 Feb 2005 10:47:14 -0600
Message-ID: <6EED8F7006A883459D4818686BCE3B3B7ADD2A@MAIL01.austin.utexas.edu>
To: "Chris Ridpath" <chris.ridpath@utoronto.ca>, "Michael Cooper" <michaelc@watchfire.com>, "WAI WCAG List" <w3c-wai-gl@w3.org>

Chris, this looks OK to me.  One suggestion:
For XHTML documents served as text/html that *do* have both required
attributes (lang and xml:lang), check to see if the value oflang= and
xml:lang= are the *same* valid language code.

I'm not sure what would happen if they were different, but I bet it's
not pretty.

John


"Good design is accessible design." 
John Slatin, Ph.D.
Director, Accessibility Institute
University of Texas at Austin
FAC 248C
1 University Station G9600
Austin, TX 78712
ph 512-495-4288, f 512-495-4524
email jslatin@mail.utexas.edu
web http://www.utexas.edu/research/accessibility/


 



-----Original Message-----
From: Chris Ridpath [mailto:chris.ridpath@utoronto.ca] 
Sent: Tuesday, February 01, 2005 10:38 am
To: Michael Cooper; WAI WCAG List
Cc: John M Slatin
Subject: Re: [techs] Fasttrack Tests


I've modified test 49 to make it clear how you check for the proper lang
attribute.

Please take a look and let me know if this make sense to you:
http://www.w3.org/WAI/GL/WCAG20/tests/test49.html

Cheers,
Chris


----- Original Message ----- 
From: "Michael Cooper" <michaelc@watchfire.com>
To: "WAI WCAG List" <w3c-wai-gl@w3.org>
Sent: Monday, January 31, 2005 3:07 PM
Subject: RE: [techs] Fasttrack Tests


>
> We should follow the advice given at [1]
>
> * If the document is HTML, just use "lang"
> * If the document is XHTML 1.0, or is any version of XHTML served as
text/html, use both "lang" and "xml:lang"
> * If the document is XHTML 1.1 or higher and served as
application/xhtml+xml, just use "xml:lang"
>
> Michael
>
> [1] http://www.w3.org/TR/i18n-html-tech-lang/#ri20030218.131140352
>
Received on Tuesday, 1 February 2005 16:47:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:35 GMT