WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/09/2013 06:51:46 PM (7 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: a11y fix for keyboard navigation and Skip Content link, see #25054.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/header.php

    r25613 r25742  
    4747            <nav role="navigation" class="site-navigation primary-navigation">
    4848                <h1 class="screen-reader-text"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></h1>
    49                 <div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyfourteen' ); ?>"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a></div>
     49                <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a></a>
    5050                <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
    5151            </nav>
Note: See TracChangeset for help on using the changeset viewer.