WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: This week's article: Content Language

for

From: Dejan Kozina
Date: Jan 23, 2006 7:00AM


I'm replying off the top of my mind, so expect me to blunder regarding
the correct terminology...

The lang attribute of the html element can have one language only
declared. If the document is a multilanguage one (say a splash page on a
multilingual website where you ask the visitor to choose his/her
language) and you can't or won't select one language as primary (think
countries with more that one official language, say Canada or Belgium)
you can left this one out and mark directly the relevant sections of the
page with their own lang attributes.

There is also a 'Content-Language' HTTP header (with optionally the
relative 'meta http-equiv' element)describing the languages in which the
document is revevant: this one accepts a comma separated list of languages.

djn

Karl Dawson wrote:
> From the Top: Content Language
> <http://www.thatstandardsguy.co.uk/2006/01/23/content-language/>;
>
--
Dejan Kozina
Dolina 346 (TS) - I-34018 Italy
tel./fax: +39 040 228 436 - cell.: +39 348 7355 225
http://www.kozina.com/ - e-mail: <EMAIL REMOVED>