Warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' 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 13.7.1 | Tanaguru

AW22 Rule 13.7.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.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '', created = 1498491427, expire = 1498577827, 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.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p>This test consists in checking whether each downloadable office document have an accessible version.</p>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:43e8c7e2bc4f2b9baac305d9106392b2' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<div class=\"field-item\">\n<p>We assume that a targetted document (pointed by the \"href\" attribute of the link) can be characterized by its extension.</p>\n<p id=\"office-document-extension-list\">Here is the content of the office document extension list (feel free to help us improving it or to criticise it) :</p>\n<ul>\n<li>ods</li>\n<li>fods</li>\n<li>odt</li>\n<li>fodt</li>\n<li>odp</li>\n<li>fodp</li>\n<li>odg</li>\n<li>fodg</li>\n<li>pdf</li>\n<li>doc</li>\n<li>docx</li>\n<li>docm</li>\n<li>dot</li>\n<li>dotm</li>\n<li>xls</li>\n<li>xlsx</li>\n<li>xlsm</li>\n<li>xlt</li>\n<li>xltx</li>\n<li>xltm</li>\n<li>xlc</li>\n<li>xlr</li>\n<li>xlam</li>\n<li>csv</li>\n<li>ppt</li>\n<li>pptx</li>\n<li>pps</li>\n<li>vsd</li>\n<li>vst</li>\n<li>vss</li>\n<li>sxc</li>\n<li>sxd</li>\n<li>sxi</li>\n<li>sxm</li>\n<li>sxw</li>\n<li>sda</li>\n<li>sdc</li>\n<li>sdd</li>\n<li>sdf</li>\n<li>sdp</li>\n<li>sds</li>\n<li>sdw</li>\n<li>otf</li>\n<li>otg</li>\n<li>oth</li>\n<li>ots</li>\n<li>ott</li>\n</ul>\n</div>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:9b8fd07e66849c78b0e0cd236848b63d' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p>13.7</p>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:8b337e070bfc6073f5d4252ac97af8f6' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' 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-13-7-1\">13.7.1</a></p>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:ccddead4d666b41e30915030b4d2ce94' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p>On each Web page, does each downloading functionality for an electronic document pass one of the conditions below (<a title=\"Special cases for criterion 13.7\" href=\"http://accessiweb.org/index.php/glossary-76.html#cpCrit13-7\">except in special cases</a>)?</p>\n<ul class=\"ssTests\">\n<li> The <a href=\"http://accessiweb.org/index.php/glossary-76.html#mVaccessible\">document to download</a> is accessibility-supported</li>\n<li> An alternative accessibility-supported version of the <a href=\"http://accessiweb.org/index.php/glossary-76.html#mVaccessible\">document to download</a> is available</li>\n<li> An alternative version of the <a href=\"http://accessiweb.org/index.php/glossary-76.html#mVaccessible\">document to download</a> is available in HTML format</li>\n</ul>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:6ab6b427c719e9ed4e95e2ce749805ed' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<div class=\"field-item\">\n<p>Set1 : All the &lt;a&gt; tags with an \"href\" attribute (a[href])</p>\n<p>Set2: All the elements from Set1 with an \"href\" attribute that does not contain a fragment (presence of the hash sign (#))</p>\n<p>Set3 : All the elements from Set2 that have a proper extension (no parameters, a path after the domain that contains a \".\" character)</p>\n<p>Set4 : All the &lt;form&gt; tags (form)</p>\n</div>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:45feb2d5811a3340a19b4bb4f271955c' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' 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 Set3, we check whether the content of the \"href\" attribute of the link ends with an extension that belongs to the <a href=\"#office-document-extension-list\">office document extension list </a></p>\n<p>For each element returning true in Test1, raise a Message1</p>\n<h5>Test2</h5>\n<p>IF Test1 returns false, we check whether the size of Set2 is equals to size of Set3. In other words, we verify that all the links of the page have a well-defined extension.</p>\n<p>If Test2 returns false (some links have no extension on the page), raise a Message2.</p>\n<p><strong>Test3</strong></p>\n<p>If Test2 returns true (all the links have a well-defined extension that belongs to the office document extension list), we check whether Set4 is empty (the page contains forms that may lead to a downloadable document).</p>\n<p>If Test3 returns false (some form are found on the page), raise a Message3.</p>\n<h5>Message1: Office Document Detected</h5>\n<ul>\n<li>code : OfficeDocumentDetected</li>\n<li>status: NMI</li>\n<li>parameter : href title attribute, title attribute, snippet</li>\n<li>present in source : yes</li>\n</ul>\n<h5>Message2: Check manually links without extension</h5>\n<ul>\n<li>code : CheckManuallyLinkWithoutExtension_Aw22-13071</li>\n<li>status: NMI</li>\n<li>present in source : no</li>\n</ul>\n<h5>Message3: Check downloadable document from form</h5>\n<ul>\n<li>code : CheckDownloadableDocumentFromForm_Aw22-13071</li>\n<li>status: NMI</li>\n<li>present in source : no</li>\n</ul>\n</div>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:0a37834fa77bf976c840a98686bf0e9a' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<div class=\"field-item\">\n<p><strong>NA</strong></p>\n<ul>\n<li>Set2 is empty (the page has no link that are not anchor)</li>\n<li>Test3 returns true (all the links of the page have a well-defined extension AND all the extension are of office document type AND the page has no form)</li>\n</ul>\n<p><strong>NMI </strong></p>\n<p>In all other cases</p>\n</div>\n', created = 1498491427, expire = 1498577827, headers = '', serialized = 0 WHERE cid = '2:011784131b4218ae4e3b1f865458f064' 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.72' 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:5499:\"<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=\"collapsed\"><a href=\"/en/content/AW22-06-links\">6 Links</a></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=\"expanded last active-trail\"><a href=\"/en/content/AW22-13-consultation\">13 Consultation</a><ul class=\"menu\"><li class=\"leaf first\"><a href=\"/en/content/aw22-rule-13-1-2\">AW22 Rule 13.1.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-1-3\">AW22 Rule 13.1.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-1-4\">AW22 Rule 13.1.4</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-1-5\">AW22 Rule 13.1.5</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-2-1\">AW22 Rule 13.2.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-2-2\">AW22 Rule 13.2.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-2-3\">AW22 Rule 13.2.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-3-1\">AW22 Rule 13.3.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-5-1\">AW22 Rule 13.5.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-6-1\">AW22 Rule 13.6.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-6-2\">AW22 Rule 13.6.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-6-3\">AW22 Rule 13.6.3</a></li>\n<li class=\"leaf active-trail\"><a href=\"/en/content/aw22-rule-13-7-1\" class=\"active\">AW22 Rule 13.7.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-8-1\">AW22 Rule 13.8.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-10-1\">AW22 Rule 13.10.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-11-1\">AW22 Rule 13.11.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-12-1\">AW22 Rule 13.12.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-13-1\">AW22 Rule 13.13.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-14-1\">AW22 Rule 13.14.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-15-1\">AW22 Rule 13.15.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-15-3\">AW22 Rule 13.15.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-15-4\">AW22 Rule 13.15.4</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-16-1\">AW22 Rule 13.16.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-16-2\">AW22 Rule 13.16.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-16-3\">AW22 Rule 13.16.3</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-13-16-4\">AW22 Rule 13.16.4</a></li>\n<li class=\"leaf last\"><a href=\"/en/content/aw22-rule-13-17-2\">AW22 Rule 13.17.2</a></li>\n</ul></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 = 1498491427, expire = -1, headers = '', serialized = 1 WHERE cid = 'book:0:garland-Open-S:en:r.1:http://open-s.com/en/content/aw22-rule-13-7-1' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_block' query: UPDATE drupal_cache_block SET data = '', created = 1498491427, expire = -1, headers = '', serialized = 0 WHERE cid = 'profile:0:garland-Open-S:en:r.1:http://open-s.com/en/content/aw22-rule-13-7-1' in /home/tanaguru/www/includes/cache.inc on line 112.

Summary

This test consists in checking whether each downloadable office document have an accessible version.

Business description

Criterion :

13.7

Test :

13.7.1

Test description :

On each Web page, does each downloading functionality for an electronic document pass one of the conditions below (except in special cases)?

Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

Set1 : All the <a> tags with an "href" attribute (a[href])

Set2: All the elements from Set1 with an "href" attribute that does not contain a fragment (presence of the hash sign (#))

Set3 : All the elements from Set2 that have a proper extension (no parameters, a path after the domain that contains a "." character)

Set4 : All the <form> tags (form)

Process

Test1

For each element of Set3, we check whether the content of the "href" attribute of the link ends with an extension that belongs to the office document extension list

For each element returning true in Test1, raise a Message1

Test2

IF Test1 returns false, we check whether the size of Set2 is equals to size of Set3. In other words, we verify that all the links of the page have a well-defined extension.

If Test2 returns false (some links have no extension on the page), raise a Message2.

Test3

If Test2 returns true (all the links have a well-defined extension that belongs to the office document extension list), we check whether Set4 is empty (the page contains forms that may lead to a downloadable document).

If Test3 returns false (some form are found on the page), raise a Message3.

Message1: Office Document Detected
  • code : OfficeDocumentDetected
  • status: NMI
  • parameter : href title attribute, title attribute, snippet
  • present in source : yes
Message2: Check manually links without extension
  • code : CheckManuallyLinkWithoutExtension_Aw22-13071
  • status: NMI
  • present in source : no
Message3: Check downloadable document from form
  • code : CheckDownloadableDocumentFromForm_Aw22-13071
  • status: NMI
  • present in source : no

Analysis

NA

  • Set2 is empty (the page has no link that are not anchor)
  • Test3 returns true (all the links of the page have a well-defined extension AND all the extension are of office document type AND the page has no form)

NMI

In all other cases

Notes

We assume that a targetted document (pointed by the "href" attribute of the link) can be characterized by its extension.

Here is the content of the office document extension list (feel free to help us improving it or to criticise it) :

  • ods
  • fods
  • odt
  • fodt
  • odp
  • fodp
  • odg
  • fodg
  • pdf
  • doc
  • docx
  • docm
  • dot
  • dotm
  • xls
  • xlsx
  • xlsm
  • xlt
  • xltx
  • xltm
  • xlc
  • xlr
  • xlam
  • csv
  • ppt
  • pptx
  • pps
  • vsd
  • vst
  • vss
  • sxc
  • sxd
  • sxi
  • sxm
  • sxw
  • sda
  • sdc
  • sdd
  • sdf
  • sdp
  • sds
  • sdw
  • otf
  • otg
  • oth
  • ots
  • ott