WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/09/2013 07:06:06 PM (7 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/content-featured-post.php

    r25021 r25743  
    77
    88<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    9     <a class="attachment-featured-featured" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>">
     9    <a class="attachment-featured-featured" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
    1010        <?php
    1111            if ( has_post_thumbnail() ) :
Note: See TracChangeset for help on using the changeset viewer.