Rule0103a

  • 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.3
Test : 1.3.a
Test description : Pour chaque image porteuse d'information (balise img) ayant un attribut alt, le contenu de cet attribut est-il pertinent ?
Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

The img tags with a non empty alt attribute.

Process

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

If the algorithm detects that the image actually gives informations, then check that the content of alt attribute is contained in the image alternatives white list and is not in the image alternatives black list :

  • If it belongs to the black list, the result is FAILED, a remark is added to the node.
  • If it belongs to the white list, the result is PASSED.
  • If it does not belong to any of the lists, the result is NEED_MORE_INFO, a remark is added to the node.

If the algorithm could not decide if the image is meaningfull or decorative, the temporary result is NEED_MORE_INFO and a remark is added to the node.

The results of the check are stored 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 images whose text alternatives need to be reviewed are reported with the standard message : "VerifyValue".

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

Notes

Needs to add some tests for validity of alt attribute as white list is empty for now.