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

[whatwg] Definition of alt= attribute

From: Jim Ley <jim.ley@gmail.com>
Date: Thu, 19 Jan 2006 11:04:24 +0000
Message-ID: <851c8d310601190304j589a8818tdcbb9fdf748ab901@mail.gmail.com>
On 1/19/06, Anne van Kesteren <fora at annevankesteren.nl> wrote:
> Quoting Alexey Feldgendler <alexey at feldgendler.ru>:
> > I wonder why alt is a required attribute for IMG in HTML while an
> > empty  value is allowed.
> Because an empty value means that there is no alternate text and no
> attribute at
> all means that alternate text is missing. (Which is clearly not what
> you want.)

I think Alexey's point is that in a correctly authored page no alt
attribute could perfectly reasonably mean the attribute is empty, this
is a good argument, but one that falls down in reality because so few
pages are correctly authored so those groups needing good ALT are left
at a disservice unless authors co-operate by specifically giving ALT
an empty value.

Received on Thursday, 19 January 2006 03:04:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC