AW21 Rule 5.7.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 each header of a data table applied to the whole row or to the whole column has an appropriate scope attribute

Business description

Criterion :

5.7

Test :

5.7.2

Test description :

Does each header (th tag) applied to the whole row or the whole column and having a scope attribute pass one of the conditions below?

  • The header has a scope attribute with the "row" value for row headers
  • The header has a scope attribute with the "col" value for column headers
Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

All the <table> tags with <th> descendants tags

Process

The selection handles the process.

For each occurence of the selection raise a MessageA

MessageA : Check table type and appropriate scope attribute on header
  • code :ManualCheckOnElements
  • status: NMI
  • parameter : tag name
  • present in source : yes

Analysis

NA

Selection is empty (The page has no <table> tag with <th> descendant tags)

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