Make WordPress Core

Changeset 35158


Ignore:
Timestamp:
10/14/2015 05:31:29 PM (9 years ago)
Author:
afercia
Message:

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

Fixes #34285.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r35131 r35158  
    21252125}
    21262126
    2127 #post-body #post-body-content #namediv h3 {
     2127#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */
     2128#post-body #post-body-content #namediv h2 {
    21282129    margin-top: 0;
    21292130}
     
    21372138}
    21382139
    2139 #namediv h3 label {
     2140#namediv h3 label, /* Back-compat for pre-4.4 */
     2141#namediv h2 label {
    21402142    vertical-align: baseline;
    21412143}
  • trunk/src/wp-admin/edit-link-form.php

    r33067 r35158  
    9292<div id="post-body-content">
    9393<div id="namediv" class="stuffbox">
    94 <h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3>
     94<h2><label for="link_name"><?php _ex( 'Name', 'link name' ) ?></label></h2>
    9595<div class="inside">
    9696    <input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
     
    100100
    101101<div id="addressdiv" class="stuffbox">
    102 <h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
     102<h2><label for="link_url"><?php _e( 'Web Address' ) ?></label></h2>
    103103<div class="inside">
    104104    <input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />
     
    108108
    109109<div id="descriptiondiv" class="stuffbox">
    110 <h3><label for="link_description"><?php _e('Description') ?></label></h3>
     110<h2><label for="link_description"><?php _e( 'Description' ) ?></label></h2>
    111111<div class="inside">
    112112    <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" />
Note: See TracChangeset for help on using the changeset viewer.