Make WordPress Core


Ignore:
Timestamp:
12/01/2022 09:54:57 PM (2 years ago)
Author:
audrasjb
Message:

Twenty Thirteen: Remove unwanted title attributes.

This changeset removes title attributes from various links, as they add redundant information.

Follow-up to [53844].

Props sabernhardt, costdev, mukesh27.
See #57199, #24766, #24203.

File:
1 edited

Legend:

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

    r54405 r54923  
    3535    <div id="page" class="hfeed site">
    3636        <header id="masthead" class="site-header">
    37             <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
     37            <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
    3838                <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
    3939                <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
     
    4343                <nav id="site-navigation" class="navigation main-navigation">
    4444                    <button class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></button>
    45                     <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
     45                    <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
    4646                    <?php
    4747                    wp_nav_menu(
Note: See TracChangeset for help on using the changeset viewer.