W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2004

Re: Amaya 8.7-pre possible bug: img tag without alt attribute

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Fri, 22 Oct 2004 20:01:49 +0900 (JST)
Message-Id: <20041022.200149.07620961.mimasa@w3.org>
To: www-amaya@w3.org

Irene Vatton <irene.vatton@inrialpes.fr> wrote:

> > When Amaya loads a document with an img without the alt attribute, it does
> > not give an error message. The alt attribute can be deleted in the source
> > view and when the document is saved it does not give an error message, 
> > neither.
> This is now done.

It seems this fix has gone a bit too far.  Try the following HTML fragment:

  <object data="w3c_home.png" type="image/png">
    <object data="w3c_home.gif" type="image/gif">
      <img src="w3c_home" alt="W3C">

Amaya 8.7 complains like

  line n, char n: Default mandatory attribute "alt" added

against *object* elements, but "alt" is not a valid attribute for object.

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Friday, 22 October 2004 11:01:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:46 UTC