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 8.3.1 | Tanaguru

AW22 Rule 8.3.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 = 1498454274, expire = 1498540674, 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>We check whether a language is specified for each textual element of the page</p>\n', created = 1498454274, expire = 1498540674, headers = '', serialized = 0 WHERE cid = '2:cc562914db325e664d405cb2c822d099' 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>8.3</p>\n', created = 1498454274, expire = 1498540674, headers = '', serialized = 0 WHERE cid = '2:c84af2c33e88358372a6bcab059fc99d' 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://www.braillenet.org/accessibilite/referentiel-aw21-en/index.php#test-8-3-1\">8.3.1</a></p>\n', created = 1498454274, expire = 1498540674, headers = '', serialized = 0 WHERE cid = '2:7f7532c125e8303637f2fa55e3555fc5' 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 Web page, does the <a href=\"http://www.braillenet.org/accessibilite/referentiel-aw21-en/glossaire.php#mLangueDefaut\"> default human language</a> specification pass one of the conditions below?</p>\n<ul>\n<li> The page human language specification (lang and/or xml:lang attribute) is provided for the Html element</li>\n<li> The page human language specification (lang and/or xml:lang attribute) is provided for each text element or on one of the parent elements</li>\n</ul>\n', created = 1498454274, expire = 1498540674, headers = '', serialized = 0 WHERE cid = '2:ceabbd9d850e440ab28914f29f628c97' 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 = '<h5>Set 1 :</h5>\n<p>The &lt;html&gt; tag with a \"lang\" or \"xml:lang\" attribute.</p>\n<h5>Set 2 :</h5>\n<p>The tags with a \"lang\" or \"xml:lang\" attribute.</p>\n<h5>Set 3 :</h5>\n<p>The textual tags without \"lang\" or \"xml:lang\" attribute considering that these attributes can be set to the current tag or to one of its ascendants.&nbsp; (see Notes for the definition of the textual tags)</p>\n', created = 1498454274, expire = 1498540674, headers = '', serialized = 0 WHERE cid = '2:afbd91c443ade0532a5f74471f7ed77d' 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>The selection handles the process.</p>\n', created = 1498454274, expire = 1498540674, headers = '', serialized = 0 WHERE cid = '2:50c9b02d62a108e2c97774459243ad69' 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 = '<h5>Passed</h5>\n<ul>\n<li>The &lt;html&gt; tag has a \"lang\" or a \"xml:lang\" attribute (Set1 is not empty)</li>\n<li>The language is provided for each textual element by the tag or by one of its parents (Set1 is empty AND Set2 is not empty AND Set3 is empty)</li>\n</ul>\n<h5>Failed</h5>\n<ul>\n<li>The page has no language specification (Set2 is empty). In this case, raise a Message 1</li>\n<li>Some textual tags are missing the language attribute (Set1 is empty AND Set2 is not empty AND Set3 is not empty). In this case, raise a Message 2</li>\n</ul>\n<h5>Message 1: Lang Attribute Missing On Whole Page</h5>\n<ul>\n<li>code : LangAttributeMissingOnWholePage </li>\n<li>status: Failed</li>\n<li>parameter : none</li>\n<li>present in source : no</li>\n</ul>\n<h5 class=\"field-item\">\n<p class=\"field-item\">Message 2: Lang Attribute Missing On Html</p>\n</h5>\n<ul>\n<li>code : LangAttributeMissingOnHtml</li>\n<li>status: Failed</li>\n<li>parameter : none</li>\n<li>present in source : no</li>\n</ul>\n', created = 1498454274, expire = 1498540674, headers = '', serialized = 0 WHERE cid = '2:b900601da5f08e89005d7dfc07d22abc' 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:4059:\"<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=\"expanded active-trail\"><a href=\"/en/content/AW22-08-mandatory-elements\">8 Mandatory elements</a><ul class=\"menu\"><li class=\"leaf first\"><a href=\"/en/content/aw22-rule-8-1-1\">AW22 Rule 8.1.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-8-1-2\">AW22 Rule 8.1.2</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-8-2-1\">AW22 Rule 8.2.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-8-2-2\">AW22 Rule 8.2.2</a></li>\n<li class=\"leaf active-trail\"><a href=\"/en/content/aw22-rule-8-3-1\" class=\"active\">AW22 Rule 8.3.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-8-4-1\">AW22 Rule 8.4.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-8-6-1\">AW22 Rule 8.6.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-8-7-1\">AW22 Rule 8.7.1</a></li>\n<li class=\"leaf\"><a href=\"/en/content/aw22-rule-8-8-1\">AW22 Rule 8.8.1</a></li>\n<li class=\"leaf last\"><a href=\"/en/content/aw22-rule-8-9-1\">AW22 Rule 8.9.1</a></li>\n</ul></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 = 1498454274, expire = -1, headers = '', serialized = 1 WHERE cid = 'book:0:garland-Open-S:en:r.1:http://open-s.com/en/content/aw22-rule-8-3-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 = 1498454274, expire = -1, headers = '', serialized = 0 WHERE cid = 'profile:0:garland-Open-S:en:r.1:http://open-s.com/en/content/aw22-rule-8-3-1' in /home/tanaguru/www/includes/cache.inc on line 112.

Summary

We check whether a language is specified for each textual element of the page

Business description

Criterion :

8.3

Test :

8.3.1

Test description :

For each Web page, does the default human language specification pass one of the conditions below?

  • The page human language specification (lang and/or xml:lang attribute) is provided for the Html element
  • The page human language specification (lang and/or xml:lang attribute) is provided for each text element or on one of the parent elements
Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

Set 1 :

The <html> tag with a "lang" or "xml:lang" attribute.

Set 2 :

The tags with a "lang" or "xml:lang" attribute.

Set 3 :

The textual tags without "lang" or "xml:lang" attribute considering that these attributes can be set to the current tag or to one of its ascendants.  (see Notes for the definition of the textual tags)

Process

The selection handles the process.

Analysis

Passed
  • The <html> tag has a "lang" or a "xml:lang" attribute (Set1 is not empty)
  • The language is provided for each textual element by the tag or by one of its parents (Set1 is empty AND Set2 is not empty AND Set3 is empty)
Failed
  • The page has no language specification (Set2 is empty). In this case, raise a Message 1
  • Some textual tags are missing the language attribute (Set1 is empty AND Set2 is not empty AND Set3 is not empty). In this case, raise a Message 2
Message 1: Lang Attribute Missing On Whole Page
  • code : LangAttributeMissingOnWholePage
  • status: Failed
  • parameter : none
  • present in source : no

Message 2: Lang Attribute Missing On Html

  • code : LangAttributeMissingOnHtml
  • status: Failed
  • parameter : none
  • present in source : no

Notes

No notes yet for that rule