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

Re: lang tag and alt text

From: Léonie Watson <tink@tink.uk>
Date: Sat, 8 Sep 2018 14:15:51 +0100
To: "Gies, Edward M. (ELS-DAY)" <Ted.Gies@elsevier.com>, "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Message-ID: <72ab4b35-fae0-cd1c-2125-84166d9c9b35@tink.uk>

On 07/09/2018 17:47, Gies, Edward M. (ELS-DAY) wrote:
> 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.

Suggest using the lang attribute on the <img> tag instead. It isn't 
widely supported across browsers and screen readers, but it does seem to 
be marginally better than putting the lang attribute on a parent div.



Léonie.
Received on Saturday, 8 September 2018 13:16:19 UTC

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