W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: Images and alternative text

From: Leif Halvard Silli <lhs@malform.no>
Date: Fri, 08 Aug 2008 16:53:35 +0200
Message-ID: <489C5DEF.7050108@malform.no>
To: john@netpurgatory.com
CC: Ian Hickson <ian@hixie.ch>, Philip Taylor <pjt47@cam.ac.uk>, "public-html@w3.org" <public-html@w3.org>

John C. Vernaleo 2008-08-07 22.09:

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

     [ ... versus ... ]

>>   <img src="..." alt="The fraction x over y is equal to 1 divided by the
>>   fraction y over x.">
    [ ... ]

> At least the version that was close to the LaTeX code still contained 
> the relevant information in a way that is mostly parsable by a human.

For images used in headers, one would expect
<h1><img src=src alt="Header text"></h1>.

Why should we have lower expectations about coding practise when 
it comes to putting LaTeX source code into @alt?

HTML 4 takes into account that <blockquote> is misused for 
indenting text and says that User Agents therefore "should not 
insert quotation marks in the default style".

Likewise, perhaps the cowpath to put LaTeX code into @alt needs to 
be taken into account. But in the first place we must realise that 
putting source code into @alt and assuming people/User Agents 
figure it out by themselves, is wrong.
-- 
leif halvard silli
Received on Friday, 8 August 2008 14:54:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:57 UTC