Skip to:
Content

BuddyPress.org

Changeset 10433


Ignore:
Timestamp:
01/03/2016 02:14:29 AM (9 years ago)
Author:
mercime
Message:

Add accessible hidden headings and text for the Components panel.

See #6760.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-components.php

    r10417 r10433  
    149149    } ?>
    150150
     151    <h3 class="screen-reader-text"><?php _e( 'Filter components list', 'buddypress' ); ?></h3>
     152
    151153    <ul class="subsubsub">
    152154        <li><a href="<?php echo esc_url( add_query_arg( array( 'page' => 'bp-components', 'action' => 'all'      ), bp_get_admin_url( $page ) ) ); ?>" <?php if ( $action === 'all'      ) : ?>class="current"<?php endif; ?>><?php printf( _nx( 'All <span class="count">(%s)</span>',      'All <span class="count">(%s)</span>',      $all_count,         'plugins', 'buddypress' ), number_format_i18n( $all_count                    ) ); ?></a> | </li>
     
    156158        <li><a href="<?php echo esc_url( add_query_arg( array( 'page' => 'bp-components', 'action' => 'retired'  ), bp_get_admin_url( $page ) ) ); ?>" <?php if ( $action === 'retired'  ) : ?>class="current"<?php endif; ?>><?php printf( _n(  'Retired <span class="count">(%s)</span>',  'Retired <span class="count">(%s)</span>',  count( $retired_components ),  'buddypress' ), number_format_i18n( count( $retired_components  ) ) ); ?></a></li>
    157159    </ul>
     160
     161    <h3 class="screen-reader-text"><?php _e( 'Components list', 'buddypress' ); ?></h3>
    158162
    159163    <table class="widefat fixed plugins" cellspacing="0">
Note: See TracChangeset for help on using the changeset viewer.