W3C home > Mailing lists > Public > www-validator@w3.org > April 2012

Why not make missing alt attribute a warning?

From: Brandon Lu <gravygod@gmail.com>
Date: Thu, 12 Apr 2012 04:19:51 -0700
Message-ID: <CA+njcWkHVpLOCu7gD_r834by9PXtsoPbvgrKEWB3HqDW36MGpg@mail.gmail.com>
To: www-validator@w3.org
Hello there,

  I've been creating a virtual enterprise website from scratch for the past
few months.  I have seen my website under w3m and other text-only browsers,
and I'm wondering why img has to have the alt attribute or else an error is
returned.  The W3C validator clearly says that "An img element must have an
alt attribute, *except under certain conditions*. For details, consult
guidance on providing text alternatives for images." and those conditions
are met by many images that I have.  The virtual enterprise website ranking
ranks negatively on html errors, but ignores html warnings.  I was
wondering why the validator does not list them as warnings instead of as
errors.

Brandon Lu,
VP of Web Design at Continental Grubbin'
Received on Monday, 16 April 2012 10:21:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:50 GMT