# Re: Images and alternative text

From: John C. Vernaleo <john@netpurgatory.com>
Date: Thu, 7 Aug 2008 16:09:53 -0400 (EDT)
To: Ian Hickson <ian@hixie.ch>
Cc: Philip Taylor <pjt47@cam.ac.uk>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <alpine.DEB.1.00.0808071605480.22567@ganon.vernaleo.dyndns.org>

On Thu, 7 Aug 2008, Ian Hickson wrote:

>
> On Thu, 7 Aug 2008, Philip Taylor wrote:
>>
>>   <img src="..." alt="{x \over y} = {1 \over {y \over x}}">
>
> ...would be a horrific alternative text to give a screen reader.
>
> I don't think it's equivalent to the image at all. It's the source of a
> program that was used to generate the image, but that's not the same
> thing. Would you consider the replacement text of a fractal to be the C
> source code that generated it? Or the replacement text for an SVG file to
> be the raw source code of that SVG file?
>
> Correct alternative text for an image generated by LaTeX is a textual
> representation of the expression generated from the same LaTeX.
>
> e.g.:
>
>   <img src="..." alt="The fraction x over y is equal to 1 divided by the
>   fraction y over x.">
>