From 359b826e2c5ad06edaf77ac4539ff3d08cf88ffd Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 14 Oct 2015 17:31:29 +0000 Subject: [PATCH] Bump H3 headings to H2 on the legacy Link Manager screen for better accessibility. Fixes #34285. git-svn-id: https://develop.svn.wordpress.org/trunk@35158 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/common.css | 6 ++++-- src/wp-admin/edit-link-form.php | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index eb9d199e76..ea7211dbaa 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -2124,7 +2124,8 @@ body.iframe { width: auto; } -#post-body #post-body-content #namediv h3 { +#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */ +#post-body #post-body-content #namediv h2 { margin-top: 0; } @@ -2136,7 +2137,8 @@ body.iframe { margin: 2px 0 0 9px; } -#namediv h3 label { +#namediv h3 label, /* Back-compat for pre-4.4 */ +#namediv h2 label { vertical-align: baseline; } diff --git a/src/wp-admin/edit-link-form.php b/src/wp-admin/edit-link-form.php index 943874a8e2..ff02e394cf 100644 --- a/src/wp-admin/edit-link-form.php +++ b/src/wp-admin/edit-link-form.php @@ -91,7 +91,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
-

+

@@ -99,7 +99,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
-

+

http://wordpress.org/ — don’t forget the http://'); ?>

@@ -107,7 +107,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
-

+