[whatwg] Definition of alt= attribute
ian at hixie.ch
Fri Jan 20 15:28:53 PST 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg