Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/16/2015 07:20:59 PM (9 years ago)
Author:
mercime
Message:

A11y: h1 headings for page titles of BuddyPress wp-admin screens.

Fixes #6581.

File:
1 edited

Legend:

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

    r10322 r10357  
    878878
    879879        <div class="wrap" id="community-profile-page">
    880             <h2><?php echo esc_html( $title ); ?>
     880            <h1><?php echo esc_html( $title ); ?>
    881881
    882882                <?php if ( empty( $this->is_self_profile ) ) : ?>
     
    893893
    894894                <?php endif; ?>
    895             </h2>
     895            </h1>
    896896
    897897            <?php if ( ! empty( $user ) ) :
     
    18161816
    18171817        <div class="wrap">
    1818             <h2><?php _e( 'Users', 'buddypress' ); ?>
     1818            <h1><?php _e( 'Users', 'buddypress' ); ?>
    18191819
    18201820                <?php if ( current_user_can( 'create_users' ) ) : ?>
     
    18331833
    18341834                ?>
    1835             </h2>
     1835            </h1>
    18361836
    18371837            <?php // Display each signups on its own row. ?>
     
    19351935
    19361936        <div class="wrap">
    1937             <h2><?php echo esc_html( $header_text ); ?></h2>
     1937            <h1><?php echo esc_html( $header_text ); ?></h1>
    19381938            <p><?php echo esc_html( $helper_text ); ?></p>
    19391939
Note: See TracChangeset for help on using the changeset viewer.