AW21 Rule 6.6.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 checks whether the page contains empty links.

Business description

Criterion :

6.6

Test :

6.6.1

Test description :

Test 6.6.1 Dans chaque page Web, chaque lien (balise a), à l'exception des ancres nommées, a-t-il un intitulé entre <a> et </a> ?

Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

Set1 : All the <a> tags of the page

Set2 : All the <a> tags without text content that aren't an anchor (see Notes for the anchor definition)

  • used nomenclature : none

Process

The selection handles the process.

Analysis

  • NA : The page has no <a> tag (Set1 is empty)
  • Failed : The page contains at least one link with an empty content (Set2 is not empty)
  • Passed : The page contains well-formed links (links with content or anchors) (Set1 is not empty and Set2 is empty)
  • Message :
  1. code : ValueEmpty
  2. status: Failed
  3. case : For each element of Set2
  4. parameter : tag name
  5. present in source : yes

Notes

  1. A <a> tag is seen as an anchor if and only if it has either a "name" or an "id" attribute.