Browse files

adding access-hide class

for H1s we didn't want to show visually but wanted to see in the
document outline:
http://gsnedders.html5.org/outliner/process.py?url=http%3A%2F%2Fshell.mi
moymima.com%2F
  • Loading branch information...
1 parent a8deb9f commit 55a010ece2a7409923c57f89165fefd68e9307c0 @mimoYmima committed Jun 17, 2012
Showing with 5 additions and 3 deletions.
  1. +1 −1 footer.php
  2. +1 −1 header.php
  3. +2 −0 index.php
  4. +1 −1 style.css
View
2 footer.php
@@ -3,7 +3,7 @@
<!--BEGIN: Footer Nav-->
<nav role="navigation">
- <h1>Footer Navigation</h1>
+ <h1 class="access-hide">Footer Navigation</h1>
<ul class="horiz-list">
<?php wp_nav_menu('menu=footerNav'); // create the footerNav menu inside Appearance menus and go to town -- for more on menus see: http://templatic.com/news/wordpress-3-0-menu-management ?>
</ul>
View
2 header.php
@@ -120,6 +120,6 @@
</header>
<nav id="main-nav" role="navigation">
- <h1>Main Navigation</h1>
+ <h1 class="access-hide">Main Navigation</h1>
<?php wp_nav_menu('menu=mainNav'); // create the mainNav menu inside Appearance menus and go to town -- for more on menus see: http://templatic.com/news/wordpress-3-0-menu-management ?>
</nav>
View
2 index.php
@@ -17,6 +17,8 @@
<!--BEGIN: content div-->
<div id="content" class="clear-fix" role="main">
+
+ <h1 class="access-hide">Latest Posts</h1>
<?php if (have_posts()) : while (have_posts()) : the_post(); //BEGIN: The Loop ?>
View
2 style.css
@@ -136,7 +136,7 @@ Author URI: http://mimoymima.com/
a:hover, a:active, a:focus { color: #F90; text-decoration: none; }
/* Hide These Elements but keep them accessible */
- #accessibility, #footer .vcard, nav h1, #sidebar-main h1 { position: absolute; left: -999em; }
+ .access-hide { position: absolute; left: -999em; }
/* page-wrapper */
#page-wrapper { }

0 comments on commit 55a010e

Please sign in to comment.