W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2018

lang tag and alt text

From: Gies, Edward M. (ELS-DAY) <Ted.Gies@elsevier.com>
Date: Fri, 7 Sep 2018 16:47:04 +0000
To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Message-ID: <CY4PR0801MB3761548352412F5F61DB040BE1000@CY4PR0801MB3761.namprd08.prod.outlook.com>
Hi all,

We have an interesting case where we want to honor change in page language using the lang tag for some image alt text which is in German.

The image link can be found on the Mayo Clinic Proceedings home page<https://mayoclinicproceedings.com/>.
Look under the heading level 2 with text Stamp Vignette.
The graphic is a German postage stamp honoring cardiologist Werner Forssmann. The stamp  contains a picture of Werner, a medical image, and some German text for the value of the stamp, etc.

My thought is to wrap the <img> tag with a <div lang="DE">

Wondering if anyone can confirm this approach below is sound and if not providing an alternative technique.
When I tested this using JAWS 17 the alt text was not announced in what I consider a German accent.



(image/jpeg attachment: image001.jpg)

Received on Friday, 7 September 2018 16:48:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:37:20 UTC