Warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache' query: UPDATE drupal_cache SET data = 'a:284:{s:13:\"theme_default\";s:14:\"garland-Open-S\";s:13:\"filter_html_1\";i:1;s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:18:\"drupal_private_key\";s:64:\"d0f6ffe8a97f320aa81dc41da9aa6da2eac5bb4ab9cbd5ef31e547e821e7a920\";s:10:\"menu_masks\";a:26:{i:0;i:127;i:1;i:125;i:2;i:63;i:3;i:62;i:4;i:61;i:5;i:59;i:6;i:58;i:7;i:56;i:8;i:31;i:9;i:30;i:10;i:29;i:11;i:25;i:12;i:24;i:13;i:21;i:14;i:15;i:15;i:14;i:16;i:13;i:17;i:12;i:18;i:11;i:19;i:7;i:20;i:6;i:21;i:5;i:22;i:4;i:23;i:3;i:24;i:2;i:25;i:1;}s:12:\"install_task\";s:4:\"done\";s:13:\"menu_expanded\";a:0:{}s:16:\"language_default\";O:8:\"stdClass\":11:{s:8:\"language\";s:2:\"en\";s:4:\"name\";s:7:\"English\";s:6:\"native\& in /home/tanaguru/www/includes/database.mysqli.inc on line 134

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 729

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 730

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 731

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 732
AW22 Rule 6.2.1 | Tanaguru

AW22 Rule 6.2.1

  • warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/common.inc on line 153.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:d41d8cd98f00b204e9800998ecf8427e' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p>This test consists in checking whether the title of each text link is relevant.</p>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:71304f3931334e27c850df278d734fd2' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<div class=\"field-item\">\n<p><em><strong>Definition of not-pertinent link title : </strong></em></p>\n<p>A link title is regarded as not-pertinent in the following cases :</p>\n<ul>\n<li>the link title is empty</li>\n<li>the link title is identical to the link text</li>\n<li>the link title is blacklisted</li>\n<li>the link only contains not alphanumerics characters</li>\n</ul>\n</div>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:8746c9b295ab2e09e085899257d7851d' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p>6.2</p>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:afa37a49466ffea5b6664884a42ae67d' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p><a href=\"http://accessiweb.org/index.php/accessiweb-22-english-version.html#test-6-2-1\">6.2.1</a></p>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:ed6b6fcbe41a08b67b2c2e0e378438c8' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p>For each <a href=\"http://open-s.com/index.php/glossary-76.html#mLienTexte\">text link</a> with a <a href=\"http://open-s.com/index.php/glossary-76.html#mTitreLien\">link title</a> (title attribute), is the content of this attribute relevant?</p>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:a81224514602b90f238d6c85dcc32792' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<div class=\"field-item\">\n<div class=\"field-item\">\n<div class=\"field-item\">\n<div class=\"field-item\">\n<div class=\"field-item\">\n<p>Set1 : All the &lt;a&gt; tags with a \"href\" attribute, without children ( a[href]:not(:has(*)) )</p>\n<p>Set2 : All the elements of Set1 with a not empty text and with a title attribute</p>\n</div>\n</div>\n</div>\n</div>\n</div>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:deaabed093278a74cd4dc4710e987467' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<div class=\"field-item\">\n<h5>Test1</h5>\n<p>For each element of Set2, we check whether the \"title\" attribute is not empty</p>\n<p>For each element returning false in Test1, raise a Message 1</p>\n<h5>Test2</h5>\n<p>For each element of Set2, we check whether the \"title\" attribute doesn\'t only contain non alphanumerical characters.</p>\n<p>For each element returning false in Test2, raise a Message 2</p>\n<h5>Test3</h5>\n<p>For each element of Set2, we check whether the \"title\" attribute value doesn\'t belong to the text link blacklist.</p>\n<p>For each element returning false in Test3, raise a Message 2</p>\n<h5>Test4</h5>\n<p>For each element of Set2, we check whether the \"title\" attribute is not striclty identical to the link text.</p>\n<p class=\"field-item\">For each element returning false in Test4, raise a Message 2</p>\n<h5>Test5</h5>\n<p>For each element of Set2, we check whether the \"title\" attribute contains the link text and more.</p>\n<p class=\"field-item\">For each element returning true in Test4, raise a Message 3</p>\n<p class=\"field-item\">For each element returning false in Test4, raise a Message 4</p>\n<h5>Message 1:Empty title attribute of link</h5>\n<ul>\n<li>code : EmptyLinkTitle </li>\n<li>status: Failed</li>\n<li>parameter : link text, title attribute, snippet</li>\n<li>present in source : yes</li>\n</ul>\n<h5 class=\"field-item\">Message 2: Not Pertinent link Title Attribute</h5>\n<ul>\n<li>code : NotPertinentLinkTitle</li>\n<li>status: Failed</li>\n<li>parameter : link text, title attribute, snippet</li>\n<li>present in source : yes</li>\n</ul>\n<h5 class=\"field-item\">Message 3: Suspected Pertinent link Title Attribute</h5>\n<ul>\n<li>code : SuspectedPertinentLinkTitle</li>\n<li>status: NMI</li>\n<li>parameter : link text, title attribute, snippet</li>\n<li>present in source : yes</li>\n</ul>\n<h5 class=\"field-item\">Message 4: Suspected not Pertinent link Title Attribute</h5>\n<ul>\n<li>code : SuspectedNotPertinentTitleAttribute</li>\n<li>status: NMI</li>\n<li>parameter : link text, title attribute, snippet</li>\n<li>present in source : yes</li>\n</ul>\n<h5>Used nomenclature</h5>\n<ul>\n<li>LinkTextBlacklist</li>\n</ul>\n</div>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:52891a017a22a078b9d3d52a61dc0280' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<div class=\"field-item\">\n<div class=\"field-item\">\n<h5>NA</h5>\n<ul>\n<li>The Set2 is empty</li>\n</ul>\n<h5 class=\"field-item\">Failed</h5>\n<ul>\n<li>Test1 returns false for at least one element (At least one element of the Set2 has an empty title attribute text content which is blacklisted)</li>\n<li>Test2 returns false for at least one element (At least one element of the Set2 has title attribute only composed of non alphanumerical characters)</li>\n<li>Test3 returns false for at least one element (At least one element of the Set2 has a title attribute which is blacklisted)</li>\n<li>Test4 returns false for at least one element (At least one element of the Set2 has a title attribute identical to the link text)</li>\n</ul>\n<h5>NMI</h5>\n<ul>\n<li>In all other cases</li>\n</ul>\n</div>\n</div>\n', created = 1498454539, expire = 1498540939, headers = '', serialized = 0 WHERE cid = '2:2f720bcd6f4f4eb8108461d0569e51cd' in /home/tanaguru/www/includes/cache.inc on line 112.
  • 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.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_block' query: UPDATE drupal_cache_block SET data = 'a:2:{s:7:\"subject\";s:15:\"Book navigation\";s:7:\"content\";s:4539:\"<div id=\"book-block-menu-518\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/about\">About</a></li>\n</ul></div>\n<div id=\"book-block-menu-234\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/download\">Download</a></li>\n</ul></div>\n<div id=\"book-block-menu-108\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"expanded first last active-trail\"><a href=\"/en/content/documentation\">Documentation</a><ul class=\"menu\"><li class=\"collapsed first\"><a href=\"/en/content/installation\">Installation</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/configuration\">Configuration</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/administration\">Administration</a></li>\n<li class=\"expanded active-trail\"><a href=\"/en/content/rules-design\">Rules Design</a><ul class=\"menu\"><li class=\"collapsed first\"><a href=\"/en/content/accessiweb-11\">AccessiWeb 1.1</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/accessiweb-20\">AccessiWeb 2.0</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/accessiweb-21\">AccessiWeb 2.1</a></li>\n<li class=\"expanded active-trail\"><a href=\"/en/content/accessiweb-22\">AccessiWeb 2.2</a><ul class=\"menu\"><li class=\"collapsed first\"><a href=\"/en/content/AW22-01-images\">1 Images</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-02-frames\">2 Frames</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-03-colours\">3 Colours</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-04-multimedia\">4 Multimedia</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-05-tables\">5 Tables</a></li>\n<li class=\"expanded active-trail\"><a href=\"/en/content/AW22-06-links\">6 Links</a><ul class=\"menu\"><li class=\"leaf first\"><a href=\"/en/content/aw22-rule-6-1-1\">AW22 Rule 6.1.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-1-2\">AW22 Rule 6.1.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-1-3\">AW22 Rule 6.1.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-1-4\">AW22 Rule 6.1.4</a></li>\n<li class=\"leaf active-trail\"><a href=\"/en/content/aw22-rule-6-2-1\" class=\"active\">AW22 Rule 6.2.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-2-2\">AW22 Rule 6.2.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-2-3\">AW22 Rule 6.2.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-2-4\">AW22 Rule 6.2.4</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-3-1\">AW22 Rule 6.3.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-3-3\">AW22 Rule 6.3.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-4-2\">AW22 Rule 6.4.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-4-3\">AW22 Rule 6.4.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-5-1\">AW22 Rule 6.5.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-5-2\">AW22 Rule 6.5.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-6-5-3\">AW22 Rule 6.5.3</a></li>\n<li class=\"leaf last\"><a href=\"/en/content/aw22-rule-6-6-1\">AW22 Rule 6.6.1</a></li>\n</ul></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-07-scripts\">7 Scripts</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-08-mandatory-elements\">8 Mandatory elements</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-09-information-structure\">9 Information Structure</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-10-information-layout\"> 10 Information layout</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-11-forms\">11 Forms</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/AW22-12-navigation\">12 Navigation</a></li>\n<li class=\"collapsed last\"><a href=\"/en/content/AW22-13-consultation\">13 Consultation</a></li>\n</ul></li>\n<li class=\"collapsed\"><a href=\"/en/node/142\">RGAA 2.2.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/wcag-20\">WCAG 2.0</a></li>\n<li class=\"collapsed last\"><a href=\"/en/content/miscellaneous\">Miscellaneous</a></li>\n</ul></li>\n<li class=\"collapsed last\"><a href=\"/en/content/usage\">Usage</a></li>\n</ul></li>\n</ul></div>\n<div id=\"book-block-menu-543\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/features\">Features</a></li>\n</ul></div>\n<div id=\"book-block-menu-513\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/get-involved\">Get involved</a></li>\n</ul></div>\n<div id=\"book-block-menu-233\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"leaf first last\"><a href=\"/en/content/support\">Support</a></li>\n</ul></div>\n\";}', created = 1498454539, expire = -1, headers = '', serialized = 1 WHERE cid = 'book:0:garland-Open-S:en:r.1:http://open-s.com/en/content/aw22-rule-6-2-1' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.74' for table 'drupal_cache_block' query: UPDATE drupal_cache_block SET data = '', created = 1498454539, expire = -1, headers = '', serialized = 0 WHERE cid = 'profile:0:garland-Open-S:en:r.1:http://open-s.com/en/content/aw22-rule-6-2-1' in /home/tanaguru/www/includes/cache.inc on line 112.

Summary

This test consists in checking whether the title of each text link is relevant.

Business description

Criterion :

6.2

Test :

6.2.1

Test description :

For each text link with a link title (title attribute), is the content of this attribute relevant?

Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

Set1 : All the <a> tags with a "href" attribute, without children ( a[href]:not(:has(*)) )

Set2 : All the elements of Set1 with a not empty text and with a title attribute

Process

Test1

For each element of Set2, we check whether the "title" attribute is not empty

For each element returning false in Test1, raise a Message 1

Test2

For each element of Set2, we check whether the "title" attribute doesn't only contain non alphanumerical characters.

For each element returning false in Test2, raise a Message 2

Test3

For each element of Set2, we check whether the "title" attribute value doesn't belong to the text link blacklist.

For each element returning false in Test3, raise a Message 2

Test4

For each element of Set2, we check whether the "title" attribute is not striclty identical to the link text.

For each element returning false in Test4, raise a Message 2

Test5

For each element of Set2, we check whether the "title" attribute contains the link text and more.

For each element returning true in Test4, raise a Message 3

For each element returning false in Test4, raise a Message 4

Message 1:Empty title attribute of link
  • code : EmptyLinkTitle
  • status: Failed
  • parameter : link text, title attribute, snippet
  • present in source : yes
Message 2: Not Pertinent link Title Attribute
  • code : NotPertinentLinkTitle
  • status: Failed
  • parameter : link text, title attribute, snippet
  • present in source : yes
Message 3: Suspected Pertinent link Title Attribute
  • code : SuspectedPertinentLinkTitle
  • status: NMI
  • parameter : link text, title attribute, snippet
  • present in source : yes
Message 4: Suspected not Pertinent link Title Attribute
  • code : SuspectedNotPertinentTitleAttribute
  • status: NMI
  • parameter : link text, title attribute, snippet
  • present in source : yes
Used nomenclature
  • LinkTextBlacklist

Analysis

NA
  • The Set2 is empty
Failed
  • Test1 returns false for at least one element (At least one element of the Set2 has an empty title attribute text content which is blacklisted)
  • Test2 returns false for at least one element (At least one element of the Set2 has title attribute only composed of non alphanumerical characters)
  • Test3 returns false for at least one element (At least one element of the Set2 has a title attribute which is blacklisted)
  • Test4 returns false for at least one element (At least one element of the Set2 has a title attribute identical to the link text)
NMI
  • In all other cases

Notes

Definition of not-pertinent link title :

A link title is regarded as not-pertinent in the following cases :

  • the link title is empty
  • the link title is identical to the link text
  • the link title is blacklisted
  • the link only contains not alphanumerics characters