AW21 Rule 5.5.1

  • 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 caption tag of a data table contains the title of the table

Business description

Criterion :

5.5

Test :

5.5.1

Test description :

For each data table (table tag) with a caption tag, does the content of this tag provide the title of the table?

Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

All the <table> tags with a <caption> child tag

Process

The selection handles the process.

For each occurence of the selection raise a MessageA

MessageA : Check table type and caption content
  • code :ManualCheckOnElements
  • status: NMI
  • parameter : tag name
  • present in source : yes

Analysis

NA

Selection is empty (The page has no <table> tag with a <caption> child tag)

NMI

The selection is not empty

Notes

  • We only detect the elements of the scope of the test to determine whether the test is applicable
  • We assume here that the <caption> tag must be inserted immediately after the <table> tag.