Site Health: Update "Passed tests" button label to match both expanded and collapsed state.
Add `aria-controls` to declare what ID is being toggled. Props Clorith, afercia. Fixes #46663. See #46573. Built from https://develop.svn.wordpress.org/trunk@45026 git-svn-id: http://core.svn.wordpress.org/trunk@44835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ada13d2ffd
commit
6be19e0dab
|
@ -97,8 +97,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="view-more">
|
<div class="view-more">
|
||||||
<button type="button" class="button site-health-view-passed" aria-expanded="false">
|
<button type="button" class="button site-health-view-passed" aria-expanded="false" aria-controls="health-check-issues-good">
|
||||||
<?php _e( 'Show passed tests' ); ?>
|
<?php _e( 'Passed tests' ); ?>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-alpha-45025';
|
$wp_version = '5.2-alpha-45026';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue