From d72a095508a20a6f0044d21d0b358f8cd2fa03f1 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 9 Oct 2013 19:06:06 +0000 Subject: [PATCH] Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054. git-svn-id: https://develop.svn.wordpress.org/trunk@25743 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/author.php | 3 +-- src/wp-content/themes/twentyfourteen/content-aside.php | 2 +- .../themes/twentyfourteen/content-featured-post.php | 2 +- .../themes/twentyfourteen/content-gallery.php | 4 ++-- src/wp-content/themes/twentyfourteen/content-image.php | 2 +- src/wp-content/themes/twentyfourteen/content-link.php | 2 +- src/wp-content/themes/twentyfourteen/content-quote.php | 2 +- src/wp-content/themes/twentyfourteen/content-video.php | 2 +- src/wp-content/themes/twentyfourteen/footer.php | 2 +- src/wp-content/themes/twentyfourteen/functions.php | 3 +-- src/wp-content/themes/twentyfourteen/header.php | 4 ++-- src/wp-content/themes/twentyfourteen/image.php | 10 +++++----- .../themes/twentyfourteen/inc/template-tags.php | 4 +--- src/wp-content/themes/twentyfourteen/inc/widgets.php | 4 +--- 14 files changed, 20 insertions(+), 26 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/author.php b/src/wp-content/themes/twentyfourteen/author.php index be31752110..c5a03d0407 100644 --- a/src/wp-content/themes/twentyfourteen/author.php +++ b/src/wp-content/themes/twentyfourteen/author.php @@ -27,9 +27,8 @@ get_header(); ?> the_post(); printf( __( 'All posts by %s', 'twentyfourteen' ), sprintf( - '%3$s', + '%2$s', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - esc_attr( get_the_author() ), get_the_author() ) ); ?> diff --git a/src/wp-content/themes/twentyfourteen/content-aside.php b/src/wp-content/themes/twentyfourteen/content-aside.php index e67dd48fb2..b8aeedbf0f 100644 --- a/src/wp-content/themes/twentyfourteen/content-aside.php +++ b/src/wp-content/themes/twentyfourteen/content-aside.php @@ -19,7 +19,7 @@
- + diff --git a/src/wp-content/themes/twentyfourteen/content-featured-post.php b/src/wp-content/themes/twentyfourteen/content-featured-post.php index 1c2a21af58..10e8f33364 100644 --- a/src/wp-content/themes/twentyfourteen/content-featured-post.php +++ b/src/wp-content/themes/twentyfourteen/content-featured-post.php @@ -6,7 +6,7 @@ ?>
- + @@ -51,7 +51,7 @@ endif;
- + diff --git a/src/wp-content/themes/twentyfourteen/content-image.php b/src/wp-content/themes/twentyfourteen/content-image.php index ba8987a52b..355eb7c415 100644 --- a/src/wp-content/themes/twentyfourteen/content-image.php +++ b/src/wp-content/themes/twentyfourteen/content-image.php @@ -27,7 +27,7 @@