Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/16/2015 07:20:59 PM (8 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-groups/bp-groups-admin.php

    r10262 r10357  
    568568
    569569    <div class="wrap">
    570         <h2><?php _e( 'Edit Group', 'buddypress' ); ?>
     570        <h1><?php _e( 'Edit Group', 'buddypress' ); ?>
    571571
    572572            <?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?>
     
    574574            <?php endif; ?>
    575575
    576         </h2>
     576        </h1>
    577577
    578578        <?php // If the user has just made a change to an group, display the status messages ?>
     
    664664
    665665    <div class="wrap">
    666         <h2><?php _e( 'Delete Groups', 'buddypress' ) ?></h2>
     666        <h1><?php _e( 'Delete Groups', 'buddypress' ) ?></h1>
    667667        <p><?php _e( 'You are about to delete the following groups:', 'buddypress' ) ?></p>
    668668
     
    721721
    722722    <div class="wrap">
    723         <h2>
     723        <h1>
    724724            <?php _e( 'Groups', 'buddypress' ); ?>
    725725
     
    731731                <span class="subtitle"><?php printf( __( 'Search results for &#8220;%s&#8221;', 'buddypress' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ); ?></span>
    732732            <?php endif; ?>
    733         </h2>
     733        </h1>
    734734
    735735        <?php // If the user has just made a change to an group, display the status messages ?>
Note: See TracChangeset for help on using the changeset viewer.