[whatwg] Definition of alt= attribute
Anne van Kesteren
fora at annevankesteren.nl
Sat Jan 21 05:22:49 PST 2006
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/>
More information about the whatwg
mailing list