Bundled Themes: Twenty Twelve: Move skip link to top of body.
Move the skip link to the top of the body content, so it is the first focusable item on the page. Props joedolson, sabernhardt, abcd95, vgnavada, shailu25. Fixes #62892. Built from https://develop.svn.wordpress.org/trunk@59912 git-svn-id: http://core.svn.wordpress.org/trunk@59254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<div id="page" class="hfeed site">
|
||||
<a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
|
||||
<header id="masthead" class="site-header">
|
||||
<hgroup>
|
||||
<?php $is_front = ! is_paged() && ( is_front_page() || ( is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ); ?>
|
||||
@@ -43,7 +44,6 @@
|
||||
|
||||
<nav id="site-navigation" class="main-navigation">
|
||||
<button class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></button>
|
||||
<a class="assistive-text" href="#content"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59911';
|
||||
$wp_version = '6.8-alpha-59912';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user