Skip to:
Content

BuddyPress.org

Changeset 10461


Ignore:
Timestamp:
01/25/2016 09:23:17 PM (9 years ago)
Author:
mercime
Message:

A11y: Add headings for screen readers on the Pending Users list table panel.

Fixes #6743.

File:
1 edited

Legend:

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

    r10456 r10461  
    14471447                '<p>' . __( '<a href="https://buddypress.org/support/">Support Forums</a>', 'buddypress' ) . '</p>'
    14481448            );
     1449
     1450            // Add accessible hidden headings and text for the Pending Users screen.
     1451            if ( bp_get_major_wp_version() >= 4.4 ) {
     1452                get_current_screen()->set_screen_reader_content( array(
     1453                    'heading_views'      => __( 'Filter users list', 'buddypress' ),
     1454                    'heading_pagination' => __( 'Pending users list navigation', 'buddypress' ),
     1455                    'heading_list'       => __( 'Pending users list', 'buddypress' ),
     1456                ) );
     1457            }
     1458
    14491459        } else {
    14501460            if ( ! empty( $_REQUEST['signup_ids' ] ) ) {
Note: See TracChangeset for help on using the changeset viewer.