mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Twenty Eleven: Remove useless title attributes.
This changeset removes `title` attributes from various links, as they are adding redundant information. Props sabernhardt. See #57199, #24766, #24203. git-svn-id: https://develop.svn.wordpress.org/trunk@54884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dc47e5d6dc
commit
720264ddbb
@ -29,7 +29,7 @@ get_header(); ?>
|
||||
<h1 class="page-title author">
|
||||
<?php
|
||||
/* translators: %s: Author display name. */
|
||||
printf( __( 'Author Archives: %s', 'twentyeleven' ), '<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>' );
|
||||
printf( __( 'Author Archives: %s', 'twentyeleven' ), '<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>' );
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
@ -163,7 +163,7 @@ get_header(); ?>
|
||||
/* translators: %s: Post title. */
|
||||
$title = sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) );
|
||||
?>
|
||||
<li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( $title ); ?>"<?php echo $class; ?>></a></li>
|
||||
<li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>"<?php echo $class; ?>><span class="feature-slider-tooltip" aria-hidden="true" title="<?php echo esc_attr( $title ); ?>"></span><span class="screen-reader-text"><?php echo esc_html( $title ); ?></span></a></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@ -1628,6 +1628,11 @@ section.feature-image.large img {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.feature-slider a .feature-slider-tooltip {
|
||||
display: block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.feature-slider a.active {
|
||||
background: #1982d1;
|
||||
-webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user