Test one: lang attribute on html element
If all content is switched out to the same language; changing the lang attribute on html element should suffice.
Example
This test is located in test-1.html. Expected result: screen reader should switch language/pronunciation. Before language change:
<html lang="en">...</html>
After language change:
<html lang="es">...</html>
Results
| AT, Browser, OS | Switched pronunciation? |
|---|---|
| VoiceOver, Safari 9, OS X 10.10 | No |
| VoiceOver, Safari 9, OS X 10.11 | No |
| VoiceOver, Safari 9, iOS 9 | Yes |
| JAWS 16, IE 11, Windows 7 | yes |
| JAWS, IE 11, Windows 10 | No |
| JAWS 16, Firefox 42, Windows 7 | yes |
| NVDA, Firefox, Windows 10 | Yes |
| Narrator, Edge 12, Windows 10 | No |
| Narrator, IE 11, Windows 10 | No |
| ChromeVox, Chrome, Windows 10 | No |
| ChromeVox 49, Chrome 47, OS X 10.10 | No |
Notes
- VoiceOver tests under OS X had extra languages installed.