Press This: add `aria-describedby` to the new tag field.

Props afercia. Fixes #31546.

git-svn-id: https://develop.svn.wordpress.org/trunk@31808 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-03-18 02:18:00 +00:00
parent 34ff5cd2d2
commit e875feafbb
1 changed files with 2 additions and 2 deletions

View File

@ -804,11 +804,11 @@ class WP_Press_This {
<div class="ajaxtag hide-if-no-js">
<label class="screen-reader-text" for="new-tag-post_tag"><?php _e( 'Tags' ); ?></label>
<p>
<input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
<input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" aria-describedby="new-tag-desc" />
<button type="button" class="tagadd"><?php _e( 'Add' ); ?></button>
</p>
</div>
<p class="howto">
<p class="howto" id="new-tag-desc">
<?php echo $taxonomy->labels->separate_items_with_commas; ?>
</p>
<?php } ?>