From 8d61151356842d87488433acc2e14f1b325f4fbb Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Thu, 13 Nov 2014 11:59:23 +0000 Subject: [PATCH] Improve keyboard accessibility on Custom Header and Custom Background screen. props florianziegler. fixes #29289. git-svn-id: https://develop.svn.wordpress.org/trunk@30327 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/custom-background.php | 4 ++-- src/wp-admin/custom-header.php | 6 +++--- src/wp-content/themes/twentyfifteen/inc/custom-header.php | 4 ++-- src/wp-content/themes/twentythirteen/inc/custom-header.php | 2 +- src/wp-content/themes/twentytwelve/inc/custom-header.php | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php index fd69447594..dc1984210b 100644 --- a/src/wp-admin/custom-background.php +++ b/src/wp-admin/custom-background.php @@ -317,9 +317,9 @@ class Custom_Background {


- + data-update="">

diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index 6ef81c0870..cbf5018294 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -557,7 +557,7 @@ class Custom_Image_Header { else $style = ' style="display:none;"'; ?> -

onclick="return false;" href="">

+

onclick="return false;" href="" tabindex="-1">

>
@@ -604,10 +604,10 @@ class Custom_Image_Header { ?>


- + data-update="">

diff --git a/src/wp-content/themes/twentyfifteen/inc/custom-header.php b/src/wp-content/themes/twentyfifteen/inc/custom-header.php index 69f8b3438a..fe57667410 100644 --- a/src/wp-content/themes/twentyfifteen/inc/custom-header.php +++ b/src/wp-content/themes/twentyfifteen/inc/custom-header.php @@ -143,7 +143,7 @@ function twentyfifteen_admin_header_image() { $header_background_color = get_theme_mod( 'header_background_color', $color_scheme[1] ); ?>
-

onclick="return false;" href="">

+

onclick="return false;" href="" tabindex="-1">

>
) no-repeat scroll top; background-size: 1600px auto;"> diff --git a/src/wp-content/themes/twentytwelve/inc/custom-header.php b/src/wp-content/themes/twentytwelve/inc/custom-header.php index 1657effaf4..6932490281 100644 --- a/src/wp-content/themes/twentytwelve/inc/custom-header.php +++ b/src/wp-content/themes/twentytwelve/inc/custom-header.php @@ -155,11 +155,11 @@ function twentytwelve_admin_header_image() { else $style = ' style="color:#' . get_header_textcolor() . ';"'; ?> -

onclick="return false;" href="">

+

onclick="return false;" href="" tabindex="-1">

>

-