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

See #31443.
Built from https://develop.svn.wordpress.org/trunk@31907


git-svn-id: http://core.svn.wordpress.org/trunk@31886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-03-26 21:49:32 +00:00
parent 8daaa09c9b
commit f663dc73d4
2 changed files with 2 additions and 2 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> <span class="dashicons dashicons-search"></span><span class="screen-reader-text"><?php _e( 'Search categories' ); ?></span>
</label> </label>
</div> </div>
<div role="application" aria-label="<?php esc_attr_e( 'Categories' ); ?>"> <div aria-label="<?php esc_attr_e( 'Categories' ); ?>">
<ul class="categories-select"> <ul class="categories-select">
<?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?> <?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
</ul> </ul>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-beta3-31906'; $wp_version = '4.2-beta3-31907';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.