Bump H3 headings to H2 on the legacy Link Manager screen for better accessibility.

Fixes #34285.
Built from https://develop.svn.wordpress.org/trunk@35158


git-svn-id: http://core.svn.wordpress.org/trunk@35124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2015-10-14 17:32:24 +00:00
parent d01f1c2e15
commit c4ff6317a7
6 changed files with 14 additions and 10 deletions

View File

@ -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 9px 0 0;
}
#namediv h3 label {
#namediv h3 label, /* Back-compat for pre-4.4 */
#namediv h2 label {
vertical-align: baseline;
}

View File

@ -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;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -91,7 +91,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
<div id="post-body-content">
<div id="namediv" class="stuffbox">
<h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3>
<h2><label for="link_name"><?php _ex( 'Name', 'link name' ) ?></label></h2>
<div class="inside">
<input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
<p><?php _e('Example: Nifty blogging software'); ?></p>
@ -99,7 +99,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
</div>
<div id="addressdiv" class="stuffbox">
<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
<h2><label for="link_url"><?php _e( 'Web Address' ) ?></label></h2>
<div class="inside">
<input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />
<p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p>
@ -107,7 +107,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
</div>
<div id="descriptiondiv" class="stuffbox">
<h3><label for="link_description"><?php _e('Description') ?></label></h3>
<h2><label for="link_description"><?php _e( 'Description' ) ?></label></h2>
<div class="inside">
<input type="text" name="link_description" size="30" maxlength="255" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />
<p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-35157';
$wp_version = '4.4-alpha-35158';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.