Press This: remove `role="application"` from the Categories list wrapper. This doesn't make it work better in screen readers.

See #31443.

git-svn-id: https://develop.svn.wordpress.org/trunk@31907 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-03-26 21:48:42 +00:00
parent 9e59690d03
commit 2c2951d2c0
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ class WP_Press_This {
<span class="dashicons dashicons-search"></span><span class="screen-reader-text"><?php _e( 'Search categories' ); ?></span>
</label>
</div>
<div role="application" aria-label="<?php esc_attr_e( 'Categories' ); ?>">
<div aria-label="<?php esc_attr_e( 'Categories' ); ?>">
<ul class="categories-select">
<?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
</ul>