Accessibility: added "jump to navigation/search" links (hidden from visual CSS browsers)
authorTom Gilder <tomgilder@users.mediawiki.org>
Thu, 13 Oct 2005 01:54:40 +0000 (01:54 +0000)
committerTom Gilder <tomgilder@users.mediawiki.org>
Thu, 13 Oct 2005 01:54:40 +0000 (01:54 +0000)
languages/Language.php
skins/MonoBook.php
skins/amethyst/main.css
skins/chick/main.css
skins/common/common.css
skins/monobook/main.css
skins/simple/main.css

index 8df507d..112ae8f 100644 (file)
@@ -444,6 +444,9 @@ parent class in order maintain consistency across languages.
 'printsubtitle' => '(From {{SERVER}})',
 'protectedpage' => 'Protected page',
 'administrators' => 'Project:Administrators',
+'jumpto' => 'Jump to:',
+'jumptonavigation' => 'navigation',
+'jumptosearch' => 'search',
 
 'sysoptitle'   => 'Sysop access required',
 'sysoptext'            => 'The action you have requested can only be
index 8696b4a..3dd9e28 100644 (file)
@@ -85,6 +85,7 @@ class MonoBookTemplate extends QuickTemplate {
            <div id="contentSub"><?php $this->html('subtitle') ?></div>
            <?php if($this->data['undelete']) { ?><div id="contentSub2"><?php     $this->html('undelete') ?></div><?php } ?>
            <?php if($this->data['newtalk'] ) { ?><div class="usermessage"><?php $this->html('newtalk')  ?></div><?php } ?>
+           <div id="jump-to-nav"><?php $this->msg('jumpto') ?> <a href="#column-one"><?php $this->msg('jumptonavigation') ?></a>, <a href="#searchInput"><?php $this->msg('jumptosearch') ?></a></div>
            <!-- start content -->
            <?php $this->html('bodytext') ?>
            <?php if($this->data['catlinks']) { ?><div id="catlinks"><?php       $this->html('catlinks') ?></div><?php } ?>
index 572dd2f..d98971e 100644 (file)
@@ -305,3 +305,7 @@ span.diffchange {
     color: red;
     font-weight: bold;
 }
+
+#jump-to-nav {
+  display: none;
+}
\ No newline at end of file
index 25c3ee2..5d3d15b 100755 (executable)
@@ -476,3 +476,6 @@ div.gallerytext {
         padding: 2px 4px;
 }       
 
+#jump-to-nav {
+  display: none;
+}
\ No newline at end of file
index 3e9c305..f81b613 100644 (file)
@@ -373,3 +373,6 @@ table.exif td.spacer {
        background-color: #f0f0ff;
 }
 
+#jump-to-nav {
+  display: none;
+}
\ No newline at end of file
index 227f918..6313a68 100644 (file)
@@ -222,6 +222,10 @@ pre {
     display: none;
 }
 
+#jump-to-nav {
+    display: none;
+}
+
 #contentSub, #contentSub2 {
     font-size: 84%;
     line-height: 1.2em;
index ff07603..7bbc26f 100644 (file)
@@ -395,3 +395,6 @@ div.prefsectiontip {
        padding: 0.2em;
 }
 
+#jump-to-nav {
+  display: none;
+}
\ No newline at end of file