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

[whatwg] Definition of alt= attribute

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 20 Jan 2006 23:28:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0601202327470.9516@dhalsim.dreamhost.com>
On Sat, 21 Jan 2006, Anne van Kesteren wrote:
>
> Quoting Alexey Feldgendler <alexey at feldgendler.ru>:
> > I'm not speaking about <img> with specified but empty alt -- this one is
> > certainly presentational, and it's OK to require explicit alt="" for this
> > case. I'm speaking about <img> with totally omitted alt, which is  currently
> > invalid. I propose to allow it and have the user agent derive  some
> > information from the image URL. This will better reflect the real  world
> > situation: many authors actually omit alt (which results in an  invalid
> > page) when they actually should have written it.
> 
> HTML5 is not about making the world valid.

No, but it _is_ about making authoring easier and being realistic.

I've considered making alt="" and omitting alt be conformant equivalents. 
I haven't really thought much about it yet though.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 20 January 2006 15:28:53 UTC

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