Skip to:
Content

Ignore:
Timestamp:
09/21/2016 08:49:01 AM (3 years ago)
Author:
mercime
Message:

Accessibility: Add headings for screen readers in template files.

See #7216.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php

    r11128 r11129  
    5454            <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?>
    5555
     56                <h2 class="bp-screen-reader-text"><?php _e( 'Group Details', 'buddypress' ); ?></h2>
     57
    5658                <?php
    5759
     
    8991            <?php /* Group creation step 2: Group settings */ ?>
    9092            <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?>
     93
     94                <h2 class="bp-screen-reader-text"><?php _e( 'Group Settings', 'buddypress' ); ?></h2>
    9195
    9296                <?php
     
    185189            <?php /* Group creation step 3: Avatar Uploads */ ?>
    186190            <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?>
     191
     192                <h2 class="bp-screen-reader-text"><?php _e( 'Group Avatar', 'buddypress' ); ?></h2>
    187193
    188194                <?php
     
    266272            <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?>
    267273
     274                <h2 class="bp-screen-reader-text"><?php _e( 'Cover Image', 'buddypress' ); ?></h2>
     275
    268276                <?php
    269277
     
    296304            <?php /* Group creation step 5: Invite friends to group */ ?>
    297305            <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?>
     306
     307                <h2 class="bp-screen-reader-text"><?php _e( 'Group Invites', 'buddypress' ); ?></h2>
    298308
    299309                <?php
Note: See TracChangeset for help on using the changeset viewer.