﻿### 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.64
diff -u -r1.64 style.css
--- themes/garland/style.css	31 Aug 2009 17:40:03 -0000	1.64
+++ themes/garland/style.css	19 Sep 2009 11:21:15 -0000
@@ -291,6 +291,29 @@
 }
 
 /**
+ * Skip link
+ */
+#skip-link a:link, #skip-link a:visited {
+  font-weight: bold; 
+  background: #fff; 
+  padding: 0px 5px;
+  text-decoration: none;
+  font-size: 80%;
+  text-align: right;
+  height: 0;
+  overflow: hidden;
+  position: absolute;
+}
+
+#skip-link a:active, #skip-link a:focus, #skip-link a:hover {
+  height: auto;
+  width: auto;
+  overflow: visible;
+  position: fixed;
+  z-index: 1000;
+}
+
+/**
  * Layout
  */
 #header-region {
Index: themes/seven/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/style.css,v
retrieving revision 1.18
diff -u -r1.18 style.css
--- themes/seven/style.css	11 Sep 2009 13:48:44 -0000	1.18
+++ themes/seven/style.css	19 Sep 2009 11:21:15 -0000
@@ -51,6 +51,34 @@
 }
 
 /**
+ * Skip link.
+ */
+#skip-link {
+  margin-top: 20px;
+  position: absolute;
+  right: 40px;
+  z-index: 50;
+}
+
+#skip-link a:link,
+#skip-link a:visited {
+ -moz-border-radius: 10px;
+ -webit-border-radius: 10px;
+ border-radius: 10px;
+ background: #d5d5ce;
+ color: #444;
+ font-size: 0.94em;
+ padding: 1px 10px 2px;
+}
+
+#skip-link a:hover,
+#skip-link a:focus {
+  background: #444;
+  color: #fff;
+  text-decoration: none;
+}
+
+/**
  * Branding.
  */
 #branding {
Index: modules/system/html.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/html.tpl.php,v
retrieving revision 1.1
diff -u -r1.1 html.tpl.php
--- modules/system/html.tpl.php	15 Sep 2009 17:10:39 -0000	1.1
+++ modules/system/html.tpl.php	19 Sep 2009 11:21:14 -0000
@@ -45,6 +45,9 @@
   <?php print $scripts; ?>
 </head>
 <body class="<?php print $classes; ?>" <?php print $attributes;?>>
+  <div id="skip-link">
+    <a href="#main-content"><?php print t('Skip to main content'); ?></a>
+  </div>
   <?php print $page_top; ?>
   <?php print $page; ?>
   <?php print $page_bottom; ?>
