# Re: Images and alternative text

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 7 Aug 2008 19:55:14 +0000 (UTC)
To: Philip Taylor <pjt47@cam.ac.uk>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0808071949090.5136@hixie.dreamhostps.com>

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.">

--
Ian Hickson               U+1047E                )\._.,--....,'.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;._ ,.
Things that are impossible just take longer.   ._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 7 August 2008 19:55:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:25:21 UTC