AW21 Rule 10.1.2

  • 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

This test consists in checking whether the page doesn't contain attributes serving for the presentation of the information in the source code.

Business description

Criterion :

10.1

Test :

10.1.2

Test description :

On each Web page, attributes serving for information presentation must not be available in the page source code. Does this rule have been followed?

Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

Set1 : All the tags with attributes defined as deprecated by the W3C.

Process

The selection handles the process.

Analysis

  • Passed : The selection is empty.
  • Failed : the selection is not empty (the document contains tags with deprecated atttributes)
  • Message :
  1. code : TagWithDeprecatedRepresentationAttributeFound
  2. status: Failed
  3. case : For each selected element
  4. parameter : tag name
  5. present in source : yes

Notes

This rule may be tested for each kind of doctype. The current implementation only tests the forbidden tags specified by w3c for HTML 4.