Make WordPress Core

Changeset 54923


Ignore:
Timestamp:
12/01/2022 09:54:57 PM (10 months 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.

Location:
trunk/src/wp-content/themes/twentythirteen
Files:
2 edited

Legend:

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

    r47122 r54923  
    3232                <?php
    3333                /* translators: %s: Author display name. */
    34                 printf( __( 'All posts by %s', 'twentythirteen' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
     34                printf( __( 'All posts by %s', 'twentythirteen' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" rel="me">' . get_the_author() . '</a></span>' );
    3535                ?>
    3636                </h1>
  • 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.