WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Language Switching with Screen Readers

for

From: Joe Humbert (A11y)
Date: Mar 29, 2021 9:29AM


Hi Leslie,

I have not intentionally downloaded and voices or languages on my Macbook pro.

I also reset all of my VoiceOver settings to factory default and tested my test page again. Here are my results

Navigating the page one element at a time using Ctrl + Option + right arrow (standard forward navigation), VoiceOver reads the English heading and text in English then automatically (with no extra keystrokes) reads the French heading and text passage in French.

I added a section as you described. One group of words in English then One in Spanish (in the same paragraph) and when I navigate to that paragraph, VoiceOver reads the English text in English and the Spanish text in Spanish automatically switching between the languages

It automatically switches for the two list items as well with the mixed languages.

I have coded the page with a default language of English and the sections with different languages with the appropriate language attributes of each language (lang="fr" for French and lang="es" for Spanish).

I created my test page to see if VoiceOver would automatically switch languages because Glen said he didn't have a Mac to test on. This page was not meant to solve your specific issue.

Thankx,
Joe Humbert, CPWA
Accessibility Champion
Android & iOS Accessibility Novice
Twitter: @joehumbert