WordPress.org

Make WordPress Core

Changeset 45026


Ignore:
Timestamp:
03/27/2019 02:56:09 AM (14 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/site-health.php

    r44986 r45026  
    9898
    9999    <div class="view-more">
    100         <button type="button" class="button site-health-view-passed" aria-expanded="false">
    101             <?php _e( 'Show passed tests' ); ?>
     100        <button type="button" class="button site-health-view-passed" aria-expanded="false" aria-controls="health-check-issues-good">
     101            <?php _e( 'Passed tests' ); ?>
    102102        </button>
    103103    </div>
Note: See TracChangeset for help on using the changeset viewer.