mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 20:40:44 +01:00
Bundled Themes: Move skip link from #page
to body
in Twenty Fourteen.
Improvement following [59914] to make the position of the skip to content link consistent across different states and viewports. Props sabernhardt, himanshupathak95, joedolson. Fixes #62969. git-svn-id: https://develop.svn.wordpress.org/trunk@59991 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aec301558d
commit
fe7a69cddf
@ -32,13 +32,13 @@
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<a class="screen-reader-text skip-link" href="#content">
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Skip to content', 'twentyfourteen' );
|
||||
?>
|
||||
</a>
|
||||
<div id="page" class="hfeed site">
|
||||
<a class="screen-reader-text skip-link" href="#content">
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Skip to content', 'twentyfourteen' );
|
||||
?>
|
||||
</a>
|
||||
<?php $is_front = ! is_paged() && ( is_front_page() || ( is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ); ?>
|
||||
<?php if ( get_header_image() ) : ?>
|
||||
<div id="site-header">
|
||||
|
Loading…
x
Reference in New Issue
Block a user