WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/10/2019 10:29:46 PM (2 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.