mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Themes: Add feedback for screen readers when search results are changed.
props obenland, joedolson. see #26600. git-svn-id: https://develop.svn.wordpress.org/trunk@31497 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -198,7 +198,7 @@ if ( ! $ct->errors() || ( 1 == count( $ct->errors()->get_error_codes() )
|
||||
|
||||
?>
|
||||
|
||||
<div class="theme-browser">
|
||||
<div class="theme-browser" aria-live="polite">
|
||||
<div class="themes">
|
||||
|
||||
<?php
|
||||
@@ -250,11 +250,10 @@ foreach ( $themes as $theme ) :
|
||||
<?php endforeach; ?>
|
||||
<br class="clear" />
|
||||
</div>
|
||||
<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
|
||||
</div>
|
||||
<div class="theme-overlay"></div>
|
||||
|
||||
<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
|
||||
|
||||
<?php
|
||||
// List broken themes, if any.
|
||||
if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_get_themes( array( 'errors' => true ) ) ) {
|
||||
|
||||
Reference in New Issue
Block a user