Make WordPress Core

Ticket #27555: 27555.diff

File 27555.diff, 2.9 KB (added by cgrymala, 7 years ago)

Refresh of 27555.2

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

    diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
    index 2ec8b7d..0fce0b6 100644
    img.emoji { 
    781781.welcome-panel .welcome-panel-close:hover:before,
    782782.welcome-panel .welcome-panel-close:focus:before,
    783783.tagchecklist span a:hover:before,
    784 #bulk-titles div a:hover:before {
     784.tagchecklist span a:focus:before,
     785#bulk-titles div a:hover:before,
     786#bulk-titles div a:focus:before {
    785787        color: #c00;
    786788}
    787789
  • src/wp-admin/css/edit.css

    diff --git src/wp-admin/css/edit.css src/wp-admin/css/edit.css
    index 5e5a6d3..97b5e06 100644
    span.wp-media-buttons-icon:before { 
    624624        text-indent: 0;
    625625        overflow: hidden;
    626626        position: absolute;
     627        text-decoration: none;
    627628}
    628629
    629630#poststuff h3.hndle, /* Back-compat for pre-4.4 */
  • src/wp-admin/includes/meta-boxes.php

    diff --git src/wp-admin/includes/meta-boxes.php src/wp-admin/includes/meta-boxes.php
    index bf877c3..1775afc 100644
    function post_tags_meta_box( $post, $box ) { 
    436436        <p class="howto" id="new-tag-<?php echo $tax_name; ?>-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
    437437        <?php endif; ?>
    438438        </div>
    439         <div class="tagchecklist"></div>
     439        <div class="tagchecklist" aria-live="assertive"></div>
    440440</div>
    441441<?php if ( $user_can_assign_terms ) : ?>
    442442<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>
  • src/wp-admin/js/tags-box.js

    diff --git src/wp-admin/js/tags-box.js src/wp-admin/js/tags-box.js
    index af823ac..ab2937f 100644
    var tagBox, array_unique_noempty; 
    8181
    8282                                // If tags editing isn't disabled, create the X button.
    8383                                if ( ! disabled ) {
    84                                         xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton" tabindex="0">X</a>' );
     84                                        xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton" href="#"><span class="screen-reader-text">' + postL10n.deleteTag + ' ' + val + '</span></a>' );
    8585
    8686                                        xbutton.on( 'click keypress', function( e ) {
     87                                                e.preventDefault();
    8788                                                // Trigger function if pressed Enter - keyboard navigation
    8889                                                if ( e.type === 'click' || e.keyCode === 13 ) {
    8990                                                        // When using keyboard, move focus back to the new tag field.
  • src/wp-includes/script-loader.php

    diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
    index 3b58560..ccafb02 100644
    function wp_default_scripts( &$scripts ) { 
    538538                        'saveAlert' => __('The changes you made will be lost if you navigate away from this page.'),
    539539                        'savingText' => __('Saving Draft&#8230;'),
    540540                        'permalinkSaved' => __( 'Permalink saved' ),
     541                        'deleteTag' => __('Delete'),
    541542                ) );
    542543
    543544                $scripts->add( 'press-this', "/wp-admin/js/press-this$suffix.js", array( 'jquery', 'tags-box' ), false, 1 );