﻿### Eclipse Workspace Patch 1.0
#P Drupal7
Index: themes/garland/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/style.css,v
retrieving revision 1.55
diff -u -r1.55 style.css
--- themes/garland/style.css	12 May 2009 08:31:17 -0000	1.55
+++ themes/garland/style.css	28 May 2009 14:31:49 -0000
@@ -499,6 +499,26 @@
 }
 
 /**
+ * Skip navigation
+ */
+#skip-nav a:link, #skip-nav a:visited {
+  height: 1px;
+  overflow: hidden;
+  position: absolute;
+  top: -999em;
+}
+
+#skip-nav a:active, #skip-nav a:focus {
+  background: #fff;
+  height: auto;
+  overflow: visible;
+  position: fixed;
+  top: 0;
+  width: auto;
+  z-index: 100;
+}
+
+/**
  * Header
  */
 #wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
Index: themes/garland/page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/page.tpl.php,v
retrieving revision 1.26
diff -u -r1.26 page.tpl.php
--- themes/garland/page.tpl.php	12 May 2009 13:43:46 -0000	1.26
+++ themes/garland/page.tpl.php	28 May 2009 14:31:49 -0000
@@ -14,6 +14,10 @@
     <![endif]-->
   </head>
   <body class="<?php print $body_classes ?>">
+  
+  <div id="skip-nav">
+    <a href="#main-content"><?php print t('Skip to main content'); ?></a>
+  </div>
 
   <div id="header-region" class="clearfix"><?php print $header ?></div>
 
@@ -46,6 +50,7 @@
       <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
           <?php print $breadcrumb; ?>
           <?php if ($highlight): ?><div id="highlight"><?php print $highlight ?></div><?php endif; ?>
+          <a name="main-content" id="main-content"></a>
           <?php if ($tabs): ?><div id="tabs-wrapper" class="clearfix"><?php endif; ?>
           <?php if ($title): ?><h2<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h2><?php endif; ?>
           <?php if ($tabs): ?><ul class="tabs primary"><?php print $tabs ?></ul></div><?php endif; ?>
