Rule0102a

  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.

Summary

Business description

Criterion : 1.2
Test : 1.2.a
Test description : Pour chaque image de décoration (balise img) ayant un attribut alt, le contenu de cet attribut est-il vide (alt="") ?
Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

The img tags with an alt attribute.

Process

On each selected tag, detect if that image gives informations with the process algorithm decorative image detection.

If that image is detected as decorative only, then check that the alt attribute is empty.

If the algorithm could not determine whether the image needs a non empty alt attribute, then the intermediate result of the test is "need more info".

Store the results of the process as intermediate results.

Analysis

The analysis algorithm used here is AND between the temporary results.

The images which need to be reviewed are reported with the standard message : "decorativeOrMeaningfulImage".

The errors are reported for each tag with the standard message : "textAlternativeShouldBeEmpty".

Notes

No notes yet for that rule