mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@45026 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -97,8 +97,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
</div>
|
||||
|
||||
<div class="view-more">
|
||||
<button type="button" class="button site-health-view-passed" aria-expanded="false">
|
||||
<?php _e( 'Show passed tests' ); ?>
|
||||
<button type="button" class="button site-health-view-passed" aria-expanded="false" aria-controls="health-check-issues-good">
|
||||
<?php _e( 'Passed tests' ); ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user