On 26/5/09 18:39, designer wrote:
Solved it!


<meta http-equiv="Content-Language" content="EN"/>

should be
<meta name="language" content="en" />

On the whole, this sounds more like a bug in the "validator" you're using.

The first snippet is correct; the second snippet has no specification and no meaning to any consuming software AFAIK.

"meta name='language'" certainly isn't among the techniques suggested by WAI (who instead suggest the "lang" attribute):

http://www.w3.org/TR/WCAG10-HTML-TECHS/#identify-primary-lang

http://www.w3.org/TR/WCAG20-TECHS/H57.html

Nor is it among the techniques suggested for declaring a document's language by W3C's internationalization group:

http://www.w3.org/TR/i18n-html-tech-lang/

If you want to indicate language to assistive technology, put "lang" and "xml:lang" attributes on your "html" element and any descendant elements where the language is different. This is known to work in actual screen readers like JAWS:

http://developer.yahoo.net/blog/archives/2008/03/yahoo_search_re.html

W3C suggests using "meta http-equiv='content-language'" in a subtly different way from the "lang" and "xml:lang" attributes:

http://www.w3.org/TR/i18n-html-tech-lang/#ri20040808.101452727

http://www.w3.org/TR/i18n-html-tech-lang/#ri20040728.121358444

--
Benjamin Hawkes-Lewis



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to