Make WordPress Core

Changeset 44551


Ignore:
Timestamp:
01/10/2019 10:29:46 PM (8 years ago)
Author:
afercia
Message:

Accessibility: Improve text input in the Tags meta box when using Safari + Voiceover.

Props parbaugh, konainm, wbrubaker, pento, ryelle.
Fixes #44966.

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

Legend:

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

    r44466 r44551  
    11031103------------------------------------------------------------------------------*/
    11041104
     1105#poststuff .tagsdiv .ajaxtag {
     1106        margin-top: 1em;
     1107}
     1108
    11051109#poststuff .tagsdiv .howto {
    1106         margin: 0 0 6px 0;
     1110        margin: 1em 0 6px 0;
    11071111}
    11081112
     
    16771681                padding: 10px 0;
    16781682        }
    1679        
     1683
    16801684        .privacy-text-box {
    16811685                width: auto;
    16821686        }
    1683        
     1687
    16841688        .privacy-text-box-toc {
    16851689                float: none;
  • trunk/src/wp-admin/includes/meta-boxes.php

    r44260 r44551  
    512512        <div class="ajaxtag hide-if-no-js">
    513513                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label>
    514                 <p><input data-wp-taxonomy="<?php echo $tax_name; ?>" type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" aria-describedby="new-tag-<?php echo $tax_name; ?>-desc" value="" />
    515                 <input type="button" class="button tagadd" value="<?php esc_attr_e( 'Add' ); ?>" /></p>
     514                <input data-wp-taxonomy="<?php echo $tax_name; ?>" type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" aria-describedby="new-tag-<?php echo $tax_name; ?>-desc" value="" />
     515                <input type="button" class="button tagadd" value="<?php esc_attr_e( 'Add' ); ?>" />
    516516        </div>
    517517        <p class="howto" id="new-tag-<?php echo $tax_name; ?>-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
Note: See TracChangeset for help on using the changeset viewer.