WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender] Website automatic translation tools


From: Wee, Kim (MNIT)
Date: Jan 23, 2020 5:30AM

What about if I wanted to add a tool that automatically translates the page on my website - such as Google translate? Is there a tool that adds the language tag to the page text automatically?

Kim Wee, CPWA, DHS Certified Trusted Tester v5
Webmaster and Digital Accessibility Coordinator | Operations Team
Minnesota IT Services | Partnering with Education
1500 Highway 36
Roseville, MN 55113
O: 651-582-8548
Information Technology for Minnesota Government | mn.gov/mnit

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Graham Armfield
Sent: Thursday, January 23, 2020 2:52 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] [External Sender] Website automatic translation tools

This message may be from an external email source.
Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.

You'd also want to ensure that the page language is indicated correctly - using the lang attribute. This helps screen readers voice the text with the correct pronunciation.

So using Brian's example:

<html lang="fr"> needs to become <html lang="de">.

Graham Armfield

coolfields.co.uk <https://gcc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.coolfields.co.uk%2F&amp;data%7C01%7Ckim.wee%40state.mn.us%7C4cc2267bb51d4a9a546108d79fe19109%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C637153663471694512&amp;sdata=K%2F1RrGL7kaX0dVvxEw2jCR%2BCvxFQhp77oT5vzU7xwjc%3D&amp;reserved=0>
M:07905 590026
T: 01483 856613
@coolfields <https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fcoolfields&amp;data%7C01%7Ckim.wee%40state.mn.us%7C4cc2267bb51d4a9a546108d79fe19109%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C637153663471694512&amp;sdata=9Z5TEguH%2Bp0pb9vwz%2BTAtggdD8mb%2FNK5VLDXG8%2FUH9w%3D&amp;reserved=0>