AW21 Rule 6.6.1


This test checks whether the page contains empty links.

Business description

Criterion :


Test :


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 :



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


The selection handles the process.


  • 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


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