Make WordPress Core

Ticket #38970: 38970.diff

File 38970.diff, 2.0 KB (added by rianrietveld, 8 years ago)

text: Scroll down to content

  • src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php

     
    2828                </div><!-- .site-branding-text -->
    2929
    3030                <?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && ! has_nav_menu( 'top' ) ) : ?>
    31                 <a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll Down', 'twentyseventeen' ); ?></span></a>
     31                <a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll down to content', 'twentyseventeen' ); ?></span></a>
    3232        <?php endif; ?>
    3333
    3434        </div><!-- .wrap -->
  • src/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php

     
    1717        ) ); ?>
    1818
    1919        <?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && has_custom_header() ) : ?>
    20                 <a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll Down', 'twentyseventeen' ); ?></span></a>
     20                <a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll down to content', 'twentyseventeen' ); ?></span></a>
    2121        <?php endif; ?>
    2222</nav><!-- #site-navigation -->