WebAIM - Web Accessibility In Mind

E-mail List Archives

Use of the LANG attribute

for

From: Swan, Henny
Date: Feb 15, 2005 11:21AM


Hello All,

We're having some discussions internally regarding use of the language attribute in sites. Generally it is clear when to mark up text that is not the natural language of the page however there is a slight grey area that is not so easy to define. This is best illustrated by looking at an online supermarket. How far do we go in regards to marking up food stuffs and foreign brands as French, Italian and so on?

Some of it seems quite clear. Phrases in recipe's that are clearly foreign are obvious candidates for being marked up. For example a cooking technique given in French, that is not assimilated into the English language.

Other words you can argue do not need to be marked up due to their common usage in the English language for example "Champaign". To have this marked up in French may actually mislead a screen reader user in terms of how it is pronounced. In addition to this brand names could be left as English, and not marked up, as people may only be accustomed to hearing them pronounced with an English accent.

Words that are clearly anglicised could therefore be considered exempt. One benchmark we are looking at is checking to see if it is in the Oxford Dictionary. Other words that could be considered exempt come from languages that are written in a different script like, for example, chow mien, the Chinese for stir-fry noodles (the Chinese pronunciation is nothing like the English one and would be barely recognisable).

But what of the grey area words like, Orecchiette (a type of pasta), or panna cotta, which people may not know. Or how about "Cuvee Royale Blanquette de Limoux Brut" does all of it get marked up, some of it or none of it?

What we are really trying to do is establish some kind of base guideline for establishing when a word is identified as a foreign language and when it is not. Any input, thoughts, ideas or comments would be great.

Many thanks, Henny




---
Henny Swan
Website Accessibility Consultant
T: 020 7391 2044
E: <EMAIL REMOVED>


--
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk