WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Html Lang code for page


From: Lewis Phillips
Date: Dec 22, 2015 10:06AM

Screen readers use the language declaration to determine which voice to
use. Generally a screen reader has a default voice which includes how to
pronounce words.

So in your example a Spanish screen reader user on an English language page
without the declaration will have everything pronounced as if it was
Spanish. This would be very hard if not impossible to understand.


On Tue, Dec 22, 2015 at 11:01 AM, Joseph Sherman < <EMAIL REMOVED> >

> I know 3.1.1 The default human language of each Web page can be
> programmatically determined, but my web folk find this annoying on every
> page and web app, since it is all primary language English, and they tend
> to follow 3.1.2 for language of parts.
> So question: Is 3.1.1 really critical in most cases? Is there a good
> reason I can offer for using it on every page? What happens when a Spanish
> screen reader user comes to an English page without a lang attribute? Does
> the software know to read in English?
> Joseph
> > > > >