Making WordPress.org


Ignore:
Timestamp:
02/14/2019 12:17:58 AM (6 years ago)
Author:
tellyworth
Message:

Main: move skip-to-content link so it's the first focusable element.

Needs CSS work.

See #4109

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header.php

    r6657 r8241  
    1212namespace WordPressdotorg\Theme;
    1313
     14$GLOBALS['wporg_global_header_options'] = array(
     15    'in_wrapper' => '<a class="skip-link screen-reader-text" href="#content">' . esc_html( 'Skip to content', 'wporg' ) . '</a>',
     16);
    1417get_template_part( 'header', 'wporg' );
    1518?>
    1619<div id="page" class="site">
    17     <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'wporg' ); ?></a>
    18 
    1920    <div id="content" class="site-content row gutters">
Note: See TracChangeset for help on using the changeset viewer.