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-activity/bp-activity-admin.php

    r10316 r10357  
    657657
    658658    <div class="wrap">
    659         <h2><?php printf( __( 'Editing Activity (ID #%s)', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) ); ?></h2>
     659        <h1><?php printf( __( 'Editing Activity (ID #%s)', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) ); ?></h1>
    660660
    661661        <?php if ( ! empty( $activity ) ) : ?>
     
    979979
    980980    <div class="wrap">
    981         <h2>
     981        <h1>
    982982            <?php if ( !empty( $_REQUEST['aid'] ) ) : ?>
    983983                <?php printf( __( 'Activity related to ID #%s', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) ); ?>
     
    989989                <span class="subtitle"><?php printf( __( 'Search results for &#8220;%s&#8221;', 'buddypress' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ); ?></span>
    990990            <?php endif; ?>
    991         </h2>
     991        </h1>
    992992
    993993        <?php // If the user has just made a change to an activity item, display the status messages. ?>
Note: See TracChangeset for help on using the changeset viewer.