Skip to:
Content

bbPress.org

Changeset 6202


Ignore:
Timestamp:
12/29/2016 08:26:19 AM (6 years ago)
Author:
netweb
Message:

Accessibility: Bump headings for BuddyPress group forums.

Props mercime.
Fixes #2968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/groups.php

    r6196 r6202  
    276276        $checked = is_admin() ? bp_group_is_forum_enabled( $group ) : bp_get_new_group_enable_forum() || bp_group_is_forum_enabled( bp_get_group_id() ); ?>
    277277
    278         <h4><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></h4>
     278        <h2><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></h2>
    279279
    280280        <fieldset>
     
    284284            <div class="field-group">
    285285                <div class="checkbox">
    286                     <label><input type="checkbox" name="bbp-edit-group-forum" id="bbp-edit-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>
     286                    <label for="bbp-edit-group-forum"><input type="checkbox" name="bbp-edit-group-forum" id="bbp-edit-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>
    287287                </div>
    288288
     
    484484        $checked = bp_get_new_group_enable_forum() || groups_get_groupmeta( $group_id, 'forum_id' ); ?>
    485485
    486         <h4><?php esc_html_e( 'Group Forum', 'bbpress' ); ?></h4>
     486        <h2><?php esc_html_e( 'Group Forum', 'bbpress' ); ?></h2>
    487487
    488488        <p><?php esc_html_e( 'Create a discussion forum to allow members of this group to communicate in a structured, bulletin-board style fashion.', 'bbpress' ); ?></p>
     
    835835                        bbp_the_forum(); ?>
    836836
    837                         <h3><?php bbp_forum_title(); ?></h3>
     837                        <h2><?php bbp_forum_title(); ?></h2>
    838838
    839839                        <?php bbp_get_template_part( 'content', 'single-forum' );
     
    867867                    if ( ! bbp_topics() ) {
    868868                        bp_do_404( bbp_get_forum_permalink( $forum_id ) ); ?>
    869                         <h3><?php bbp_forum_title(); ?></h3>
     869                        <h2><?php bbp_forum_title(); ?></h2>
    870870                        <?php bbp_get_template_part( 'feedback', 'no-topics' );
    871871                        break;
     
    875875                    bbp_the_topic(); ?>
    876876
    877                     <h3><?php bbp_topic_title(); ?></h3>
     877                    <h2><?php bbp_topic_title(); ?></h2>
    878878
    879879                    <?php
     
    929929                    if ( ! bbp_replies() ) {
    930930                        bp_do_404( bbp_get_forum_permalink( $forum_id ) ); ?>
    931                         <h3><?php bbp_forum_title(); ?></h3>
     931                        <h2><?php bbp_forum_title(); ?></h2>
    932932                        <?php bbp_get_template_part( 'feedback', 'no-replies' );
    933933                        break;
     
    937937                    bbp_the_reply(); ?>
    938938
    939                     <h3><?php bbp_reply_title(); ?></h3>
     939                    <h2><?php bbp_reply_title(); ?></h2>
    940940
    941941                    <?php if ( bp_action_variable( $offset + 2 ) === bbp_get_edit_rewrite_id() ) :
Note: See TracChangeset for help on using the changeset viewer.