From 66be5edfb513d0d463faccf20564778641321dd6 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 9 Oct 2013 19:07:09 +0000 Subject: [PATCH] Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054. Built from https://develop.svn.wordpress.org/trunk@25743 git-svn-id: http://core.svn.wordpress.org/trunk@25656 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/author.php | 3 +-- wp-content/themes/twentyfourteen/content-aside.php | 2 +- .../themes/twentyfourteen/content-featured-post.php | 2 +- wp-content/themes/twentyfourteen/content-gallery.php | 4 ++-- wp-content/themes/twentyfourteen/content-image.php | 2 +- wp-content/themes/twentyfourteen/content-link.php | 2 +- wp-content/themes/twentyfourteen/content-quote.php | 2 +- wp-content/themes/twentyfourteen/content-video.php | 2 +- wp-content/themes/twentyfourteen/footer.php | 2 +- wp-content/themes/twentyfourteen/functions.php | 3 +-- wp-content/themes/twentyfourteen/header.php | 4 ++-- wp-content/themes/twentyfourteen/image.php | 10 +++++----- wp-content/themes/twentyfourteen/inc/template-tags.php | 4 +--- wp-content/themes/twentyfourteen/inc/widgets.php | 4 +--- 14 files changed, 20 insertions(+), 26 deletions(-) diff --git a/wp-content/themes/twentyfourteen/author.php b/wp-content/themes/twentyfourteen/author.php index be31752110..c5a03d0407 100644 --- a/wp-content/themes/twentyfourteen/author.php +++ b/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/wp-content/themes/twentyfourteen/content-aside.php b/wp-content/themes/twentyfourteen/content-aside.php index e67dd48fb2..b8aeedbf0f 100644 --- a/wp-content/themes/twentyfourteen/content-aside.php +++ b/wp-content/themes/twentyfourteen/content-aside.php @@ -19,7 +19,7 @@
- + diff --git a/wp-content/themes/twentyfourteen/content-featured-post.php b/wp-content/themes/twentyfourteen/content-featured-post.php index 1c2a21af58..10e8f33364 100644 --- a/wp-content/themes/twentyfourteen/content-featured-post.php +++ b/wp-content/themes/twentyfourteen/content-featured-post.php @@ -6,7 +6,7 @@ ?>
- + @@ -51,7 +51,7 @@ endif;
- + diff --git a/wp-content/themes/twentyfourteen/content-image.php b/wp-content/themes/twentyfourteen/content-image.php index ba8987a52b..355eb7c415 100644 --- a/wp-content/themes/twentyfourteen/content-image.php +++ b/wp-content/themes/twentyfourteen/content-image.php @@ -27,7 +27,7 @@