? admin.css__0.patch
? garland_h2.patch
? misc/collapse.js.old2
? modules/search.new
? sites/drupal7.dev.openconcept.ca
? themes/garland/page.tpl.php.contentFirst
Index: includes/form.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/form.inc,v
retrieving revision 1.320
diff -u -p -r1.320 form.inc
--- includes/form.inc	3 Feb 2009 18:55:29 -0000	1.320
+++ includes/form.inc	9 Feb 2009 04:28:59 -0000
@@ -2380,7 +2380,7 @@ function theme_form_element($element) {
       $output .= ' <label for="' . $element['#id'] . '">' . $t('!title: !required', array('!title' => filter_xss_admin($title), '!required' => $required)) . "</label>\n";
     }
     else {
-      $output .= ' <label>' . $t('!title: !required', array('!title' => filter_xss_admin($title), '!required' => $required)) . "</label>\n";
+      $output .= ' ' . $t('!title: !required', array('!title' => filter_xss_admin($title), '!required' => $required)) . "\n";
     }
   }
 
Index: modules/block/block.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/block/block.css,v
retrieving revision 1.6
diff -u -p -r1.6 block.css
--- modules/block/block.css	14 Nov 2007 09:49:30 -0000	1.6
+++ modules/block/block.css	9 Feb 2009 04:28:59 -0000
@@ -7,9 +7,13 @@
   font-weight: normal;
   color: #999;
 }
+
+/* hiding & removing for screen readers */
 #blocks tr.region-populated {
   display: none;
+  visibility: hidden;
 }
+
 .block-region {
   background-color: #ff6;
   margin-top: 4px;
Index: modules/color/color.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/color/color.css,v
retrieving revision 1.4
diff -u -p -r1.4 color.css
--- modules/color/color.css	27 May 2007 17:57:48 -0000	1.4
+++ modules/color/color.css	9 Feb 2009 04:28:59 -0000
@@ -69,8 +69,10 @@
 }
 
 /* Preview */
+/* hiding & removing for screen readers */
 #preview {
   display: none;
+  visibility: hidden;
 }
 html.js #preview {
   display: block;
Index: modules/openid/openid.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/openid/openid.css,v
retrieving revision 1.5
diff -u -p -r1.5 openid.css
--- modules/openid/openid.css	30 Jan 2008 22:11:22 -0000	1.5
+++ modules/openid/openid.css	9 Feb 2009 04:28:59 -0000
@@ -8,28 +8,34 @@
 }
 
 div#edit-openid-identifier-wrapper {
-  display: block;
+/*  display: block; */
+  position: static;
 }
 
+/* Removing display: none; for accessibility of collapsed items */
 html.js #user-login-form div#edit-openid-identifier-wrapper,
 html.js #user-login div#edit-openid-identifier-wrapper {
-  display: none;
+  position: absolute;
+  left: -999em;
 }
 
 html.js #user-login-form li.openid-link,
 html.js #user-login li.openid-link {
-  display : block;
+/*  display : block; */
+  position: static;
 }
 
 #user-login-form ul {
   margin-top: 0;
 }
 
+/* Removing display: none; for accessibility of collapsed items */
 #user-login-form li.openid-link,
 #user-login-form li.user-link,
 #user-login li.openid-link,
 #user-login li.user-link {
-  display: none;
+  position: absolute;
+  left: -999em;
 }
 
 #user-login-form li.openid-link,
Index: modules/profile/profile.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/profile/profile.css,v
retrieving revision 1.3
diff -u -p -r1.3 profile.css
--- modules/profile/profile.css	30 Nov 2007 09:02:51 -0000	1.3
+++ modules/profile/profile.css	9 Feb 2009 04:28:59 -0000
@@ -3,9 +3,13 @@
 #profile-fields td.category {
   font-weight: bold;
 }
+
 #profile-fields tr.category-message {
   color: #999;
 }
+
+/* hiding & removing for screen readers */
 #profile-fields tr.category-populated {
-  display: none;
+  display: none; 
+  visibility: hidden;
 }
Index: modules/search/search.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.module,v
retrieving revision 1.283
diff -u -p -r1.283 search.module
--- modules/search/search.module	4 Jan 2009 16:10:48 -0000	1.283
+++ modules/search/search.module	9 Feb 2009 04:28:59 -0000
@@ -1071,7 +1071,7 @@ function search_form(&$form_state, $acti
     '#attributes' => array('class' => 'search-form'),
   );
   $form['module'] = array('#type' => 'value', '#value' => $type);
-  $form['basic'] = array('#type' => 'item', '#title' => $prompt);
+  $form['basic'] = array('#type' => 'item', '#title' => $prompt, '#id' => 'edit-keys');
   $form['basic']['inline'] = array('#prefix' => '<div class="container-inline">', '#suffix' => '</div>');
   $form['basic']['inline']['keys'] = array(
     '#type' => 'textfield',
Index: modules/system/system.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.css,v
retrieving revision 1.53
diff -u -p -r1.53 system.css
--- modules/system/system.css	5 Dec 2008 12:50:28 -0000	1.53
+++ modules/system/system.css	9 Feb 2009 04:28:59 -0000
@@ -315,11 +315,15 @@ html.js fieldset.collapsed {
   margin-bottom: 0;
   height: 1em;
 }
+
+/* Removing display: none; for accessibility of collapsed items */ 
 html.js fieldset.collapsed * {
-  display: none;
+  position: absolute;
+  left: -999em;
 }
+
 html.js fieldset.collapsed legend {
-  display: block;
+  position: static; 
 }
 html.js fieldset.collapsible legend a {
   padding-left: 15px; /* LTR */
@@ -333,14 +337,14 @@ html.js fieldset.collapsed legend a {
 * html.js fieldset.collapsed legend,
 * html.js fieldset.collapsed legend *,
 * html.js fieldset.collapsed table * {
-  display: inline;
+/*  display: inline; - removed */
 }
 /* For Safari 2 to prevent collapsible fieldsets containing tables from dissapearing due to tableheader.js. */
 html.js fieldset.collapsible {
-  position: relative;
+  position: relative; 
 }
 html.js fieldset.collapsible legend a {
-  display: block;
+  position: static;
 }
 /* Avoid jumping around due to margins collapsing into collapsible fieldset border */
 html.js fieldset.collapsible .fieldset-wrapper {
@@ -413,11 +417,16 @@ div.teaser-button-wrapper {
   margin: 0 5% 0 0; /* LTR */
   padding: 0;
 }
+
+/* hiding & removing for screen readers */
 textarea.teaser {
   display: none;
+  visibility: hidden;
 }
+/* hiding & removing for screen readers */
 html.js .no-js {
   display: none;
+  visibility: hidden;
 }
 
 /*
@@ -487,16 +496,20 @@ table.sticky-header {
 /*
 ** Installation clean URLs
 */
+/* hiding & removing for screen readers */
 #clean-url.install {
   display: none;
+  visibility: hidden;
 }
 
 /*
 ** For anything you want to hide on page load when JS is enabled, so
 ** that you can use the JS to control visibility and avoid flicker.
 */
+/* hiding & removing for screen readers */
 html.js .js-hide {
   display: none;
+  visibility: hidden;
 }
 
 /*
@@ -559,3 +572,22 @@ div.password-suggestions ul {
 div.password-confirm {
   visibility: hidden;
 }
+
+/*
+** Accessible Hiding/Offscreen  
+*/
+
+/* Hide content for all users through css */
+.hide {
+  display: none;
+  visibility: hidden;
+}
+
+/* Temporarily remove content, but make visible to screen readers */
+.offscreen {
+  position: absolute;
+  left: -999em;
+  width: 1em;
+  overflow: hidden;
+}
+
Index: themes/garland/node.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/node.tpl.php,v
retrieving revision 1.8
diff -u -p -r1.8 node.tpl.php
--- themes/garland/node.tpl.php	26 Jan 2009 14:08:44 -0000	1.8
+++ themes/garland/node.tpl.php	9 Feb 2009 04:28:59 -0000
@@ -16,16 +16,21 @@
   <div class="content clear-block">
     <?php print $content ?>
   </div>
-
   <div class="clear-block">
     <div class="meta">
     <?php if ($terms): ?>
-      <div class="terms"><?php print $terms ?></div>
+      <div class="terms">
+        <?php if($related_terms)
+           echo '<h2 class="offscreen">' . $related_terms . '</h2>'; 
+      print $terms; ?></div>
     <?php endif;?>
     </div>
 
     <?php if ($links): ?>
-      <div class="links"><?php print $links; ?></div>
+      <div class="links">
+        <?php if($related_pages) 
+           echo '<h2 class="offscreen">' . $related_pages . '</h2>'; 
+        print $links; ?></div>
     <?php endif; ?>
 
     <?php print $comments; ?>
Index: themes/garland/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/style.css,v
retrieving revision 1.47
diff -u -p -r1.47 style.css
--- themes/garland/style.css	19 Dec 2008 15:42:26 -0000	1.47
+++ themes/garland/style.css	9 Feb 2009 04:28:59 -0000
@@ -53,6 +53,13 @@ h6 {
   font-size: 110%;
 }
 
+.offscreen, form.offscreen-labels label  {
+  position: absolute;
+  left: -999em;
+  width: 1em;
+  overflow: hidden;
+}
+
 quote, code, fieldset {
   margin: .5em 0;
 }
Index: themes/garland/template.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/template.php,v
retrieving revision 1.20
diff -u -p -r1.20 template.php
--- themes/garland/template.php	20 Jan 2009 03:18:41 -0000	1.20
+++ themes/garland/template.php	9 Feb 2009 04:28:59 -0000
@@ -26,6 +26,11 @@ function garland_comment_wrapper($conten
   }
 }
 
+function garland_preprocess_node(&$vars) {
+  $vars['related_terms'] = t('related terms');
+  $vars['related_pages'] = t('related pages');
+// return $vars;
+}
 /**
  * Override or insert variables into the page template.
  */
Index: themes/pushbutton/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/pushbutton/style.css,v
retrieving revision 1.25
diff -u -p -r1.25 style.css
--- themes/pushbutton/style.css	25 Jun 2008 09:12:25 -0000	1.25
+++ themes/pushbutton/style.css	9 Feb 2009 04:28:59 -0000
@@ -456,9 +456,6 @@ div.links .prev, div.links .next, div.li
   font-weight: bold;
   color: #444;
 }
-.hide {
-  display: none
-}
 .nav .links .next a:link {
   padding: 17px 17px 17px 0; /* LTR */
   background: transparent url(arrow-next.png) right center no-repeat; /* LTR */
