From e875feafbb1734a3489195085fc251a72249beeb Mon Sep 17 00:00:00 2001 From: Andrew Ozz <azaozz@git.wordpress.org> Date: Wed, 18 Mar 2015 02:18:00 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-press-this.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php index 4ea964b928..472eddd5bf 100644 --- a/src/wp-admin/includes/class-wp-press-this.php +++ b/src/wp-admin/includes/class-wp-press-this.php @@ -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 } ?>