diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
index 2ec8b7d..0fce0b6 100644
|
|
img.emoji { |
781 | 781 | .welcome-panel .welcome-panel-close:hover:before, |
782 | 782 | .welcome-panel .welcome-panel-close:focus:before, |
783 | 783 | .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 { |
785 | 787 | color: #c00; |
786 | 788 | } |
787 | 789 | |
diff --git src/wp-admin/css/edit.css src/wp-admin/css/edit.css
index 5e5a6d3..97b5e06 100644
|
|
span.wp-media-buttons-icon:before { |
624 | 624 | text-indent: 0; |
625 | 625 | overflow: hidden; |
626 | 626 | position: absolute; |
| 627 | text-decoration: none; |
627 | 628 | } |
628 | 629 | |
629 | 630 | #poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
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 ) { |
436 | 436 | <p class="howto" id="new-tag-<?php echo $tax_name; ?>-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p> |
437 | 437 | <?php endif; ?> |
438 | 438 | </div> |
439 | | <div class="tagchecklist"></div> |
| 439 | <div class="tagchecklist" aria-live="assertive"></div> |
440 | 440 | </div> |
441 | 441 | <?php if ( $user_can_assign_terms ) : ?> |
442 | 442 | <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> |
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; |
81 | 81 | |
82 | 82 | // If tags editing isn't disabled, create the X button. |
83 | 83 | 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>' ); |
85 | 85 | |
86 | 86 | xbutton.on( 'click keypress', function( e ) { |
| 87 | e.preventDefault(); |
87 | 88 | // Trigger function if pressed Enter - keyboard navigation |
88 | 89 | if ( e.type === 'click' || e.keyCode === 13 ) { |
89 | 90 | // When using keyboard, move focus back to the new tag field. |
diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
index 3b58560..ccafb02 100644
|
|
function wp_default_scripts( &$scripts ) { |
538 | 538 | 'saveAlert' => __('The changes you made will be lost if you navigate away from this page.'), |
539 | 539 | 'savingText' => __('Saving Draft…'), |
540 | 540 | 'permalinkSaved' => __( 'Permalink saved' ), |
| 541 | 'deleteTag' => __('Delete'), |
541 | 542 | ) ); |
542 | 543 | |
543 | 544 | $scripts->add( 'press-this', "/wp-admin/js/press-this$suffix.js", array( 'jquery', 'tags-box' ), false, 1 ); |