If the Widget Screen Reader is announcing content using a different language or accent than expected, the most common cause is an incorrect HTML lang attribute on your website.
Symptoms
You may notice one or more of the following:
The Screen Reader speaks in the wrong language.
The Screen Reader uses an unexpected regional accent.
Pronunciation sounds incorrect for the content displayed on the page.
Cause
The Widget's built-in Screen Reader uses your website's HTML lang attribute to determine which language and voice should be used when announcing page content.
The language value should follow the ISO 639-1 standard and, when applicable, include the correct regional code.
Resolution
Check the HTML
langattribute on your website.Verify that the value matches the language and region used by your website content.
Update the attribute if it is incorrect.
Refresh the page and test the Screen Reader again.
Common Language Codes
Language | Region | Language Code |
English | United States |
|
English | United Kingdom |
|
English | Australia |
|
Spanish | Spain |
|
Spanish | Mexico |
|
Portuguese | Portugal |
|
Portuguese | Brazil |
|
ℹ️ Note: Be sure the language code used in the lang attribute reflects both the language and regional variant of your website content whenever applicable.
Expected Result
The Widget Screen Reader uses the correct language and regional accent that matches your website's content.
Need more help?
Contact the UserWay Support Team — we're here to assist you.
Get in touch with UserWay Support.
