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:
parent
9e59690d03
commit
2c2951d2c0
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue