W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Definition of alt= attribute

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sat, 21 Jan 2006 14:22:49 +0100
Message-ID: <20060121142249.hg2ha838k08448o0@webmail.annevankesteren.nl>
Quoting Alexey Feldgendler <alexey at feldgendler.ru>:
>>> Maybe instead deprecate <img> for presentational images, leaving it only
>>> for semantic images (with non-empty alt required).
>
>>    Sounds like a good idea. We should probably also consider how
>> <object> fits into this, though. Can it completely replace <img>??? It
>> certainly has better support for fallback content.
>
> <img> has one feature that <object> lacks: to automatically derive 
> its  dimensions from the downloaded external content. In all other 
> means I  should say that <object> looks like a decent replacement for 
> <img>.

<object> should do that too. See CSS 2.1 on replaced elements. <img> is just
easy to author, widely implemented and well supported and therefore it is in
the draft if I recall correctly. If backwards compatibility wasn't a concern I
would not see so many reasons to keep it either...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Saturday, 21 January 2006 05:22:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC