Re: lang tag and alt text

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