WordPress.org

Make WordPress Core

Ticket #27555: 27555.patch

File 27555.patch, 3.1 KB (added by joedolson, 6 years ago)

First pass at addressing issues with tag meta box

  • wp-admin/css/common-rtl.css

     
    758758}
    759759
    760760#welcome-panel.welcome-panel .welcome-panel-close:hover:before,
     761#welcome-panel.welcome-panel .welcome-panel-close:focus:before,
    761762.tagchecklist span a:hover:before,
    762 #bulk-titles div a:hover:before {
     763.tagchecklist span a:focus:before,
     764#bulk-titles div a:hover:before,
     765#bulk-titles div a:focus:before {
    763766        color: #c00;
    764767}
    765768
  • wp-admin/css/common.css

     
    758758}
    759759
    760760#welcome-panel.welcome-panel .welcome-panel-close:hover:before,
     761#welcome-panel.welcome-panel .welcome-panel-close:focus:before,
    761762.tagchecklist span a:hover:before,
    762 #bulk-titles div a:hover:before {
     763.tagchecklist span a:focus:before,
     764#bulk-titles div a:hover:before,
     765#bulk-titles div a:focus:before {
    763766        color: #c00;
    764767}
    765768
  • wp-admin/css/edit-rtl.css

     
    540540        text-indent: 0;
    541541        overflow: hidden;
    542542        position: absolute;
     543        text-decoration: none;
    543544}
    544545
    545546#poststuff h2 {
  • wp-admin/css/edit.css

     
    540540        text-indent: 0;
    541541        overflow: hidden;
    542542        position: absolute;
     543        text-decoration: none; 
    543544}
    544545
    545546#poststuff h2 {
  • wp-admin/includes/meta-boxes.php

     
    404404        <p class="howto"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
    405405        <?php endif; ?>
    406406        </div>
    407         <div class="tagchecklist"></div>
     407        <div class="tagchecklist" aria-live="assertive"></div>
    408408</div>
    409409<?php if ( $user_can_assign_terms ) : ?>
    410410<p class="hide-if-no-js"><a href="#titlediv" class="tagcloud-link" id="link-<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->choose_from_most_used; ?></a></p>
  • wp-admin/js/post.js

     
    7575
    7676                        // Create a new span, and ensure the text is properly escaped.
    7777                        span = $('<span />').text( val );
    78 
     78                       
    7979                        // If tags editing isn't disabled, create the X button.
    8080                        if ( ! disabled ) {
    81                                 xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton">X</a>' );
     81                                xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton" href="#"><span class="screen-reader-text">Delete'+val+'</span></a>' );
    8282                                xbutton.click( function(){ tagBox.parseTags(this); });
    8383                                span.prepend('&nbsp;').prepend( xbutton );
    8484                        }