mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Accessibility: Improve text input in the Tags meta box when using Safari + Voiceover.
Props parbaugh, konainm, wbrubaker, pento, ryelle. Fixes #44966. git-svn-id: https://develop.svn.wordpress.org/trunk@44551 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2e8b87cd83
commit
b3fcb41718
@ -1102,8 +1102,12 @@ span.description,
|
||||
13.0 - Tags
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#poststuff .tagsdiv .ajaxtag {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#poststuff .tagsdiv .howto {
|
||||
margin: 0 0 6px 0;
|
||||
margin: 1em 0 6px 0;
|
||||
}
|
||||
|
||||
.ajaxtag .newtag {
|
||||
@ -1676,11 +1680,11 @@ table.links-table {
|
||||
.links-table td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
|
||||
.privacy-text-box {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: none;
|
||||
width: auto;
|
||||
|
@ -511,8 +511,8 @@ function post_tags_meta_box( $post, $box ) {
|
||||
<?php if ( $user_can_assign_terms ) : ?>
|
||||
<div class="ajaxtag hide-if-no-js">
|
||||
<label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label>
|
||||
<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="" />
|
||||
<input type="button" class="button tagadd" value="<?php esc_attr_e( 'Add' ); ?>" /></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="" />
|
||||
<input type="button" class="button tagadd" value="<?php esc_attr_e( 'Add' ); ?>" />
|
||||
</div>
|
||||
<p class="howto" id="new-tag-<?php echo $tax_name; ?>-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
|
||||
<?php elseif ( empty( $terms_to_edit ) ) : ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user