Make WordPress Core

Ticket #33757: 33757.2.patch

File 33757.2.patch, 1.8 KB (added by joedolson, 8 years ago)

Also adds label to comment editor textarea

  • wp-admin/css/list-tables.css

     
    166166        text-align: center;
    167167}
    168168
    169 #replyrow h5 {
     169#replyrow legend {
    170170        margin: .2em 0 0;
    171171        padding: 0 5px;
    172172        line-height: 1.4em;
    173173        font-size: 1em;
     174        font-weight: 600;
    174175}
    175176
    176177#edithead .inside,
  • wp-admin/includes/template.php

     
    494494<?php else : ?>
    495495<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
    496496<?php endif; ?>
    497         <div id="replyhead" style="display:none;"><h5><?php _e( 'Reply to Comment' ); ?></h5></div>
    498         <div id="addhead" style="display:none;"><h5><?php _e('Add new Comment'); ?></h5></div>
     497        <fieldset>
     498        <legend id="replyhead" style="display:none;"><?php _e( 'Reply to Comment' ); ?></legend>
     499        <legend id="addhead" style="display:none;"><?php _e('Add new Comment'); ?></legend>
    499500        <div id="edithead" style="display:none;">
    500501                <div class="inside">
    501502                <label for="author"><?php _e('Name') ?></label>
     
    515516        </div>
    516517
    517518        <div id="replycontainer">
     519        <label for='replycontent' class='screen-reader-text'><?php _e( 'Comment' ); ?></label>
    518520        <?php
    519521        $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' );
    520522        wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
    521523        ?>
    522524        </div>
    523 
     525        </fieldset>
    524526        <p id="replysubmit" class="submit">
    525527        <a href="#comments-form" class="save button-primary alignright">
    526528        <span id="addbtn" style="display:none;"><?php _e('Add Comment'); ?></span>