PressThis: add a wrapped with role = application to the categories section.
Props: afercia. See #31443. git-svn-id: https://develop.svn.wordpress.org/trunk@31775 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
71aa99360e
commit
a6b11c0411
@ -793,9 +793,11 @@ 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>
|
||||||
<ul class="categories-select" aria-label="<?php esc_attr_e( 'Categories' ); ?>">
|
<div role="application" aria-label="<?php esc_attr_e( 'Categories' ); ?>">
|
||||||
<?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
|
<ul class="categories-select">
|
||||||
</ul>
|
<?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user