W3C home > Mailing lists > Public > www-validator@w3.org > December 2013

Re: [VE][127] Add Subject Here

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 09 Dec 2013 11:34:42 +0200
Message-ID: <52A58EB2.8090506@cs.tut.fi>
To: Cengiz Sönmez <sonmez.cengiz@hotmail.fr>, www-validator@w3.org
2013-12-08 12:43, Cengiz Sönmez wrote:

> Validating http://penta-labs.com/index.php/injectable-steroids.html
> Error [127]: "required attribute X not specified"

The error message "required attribute 'alt' not specified" means what it 
says: an element (here, <img> element) for which an alt attribute is 
required, according to the syntax of HTML that the document purports to 
comply with (here, XHTML 1.0 Transitional) does not have that attribute.

The fix is to provide that attribute. The difficult part is to write an 
attribute value that acts as a suitable replacement for the image, in 
situations where the image is not rendered. In this case, an empty value 
(alt="") could be used, though some people might say that you should 
write a description of the packages displayed in the images. But as far 
as formal validation is concerned, the problem is just that currently 
the images have *no* alt attributes.

Yucca
Received on Monday, 9 December 2013 09:35:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:09 UTC