Skip to:
Content

BuddyPress.org

Changeset 11020


Ignore:
Timestamp:
08/19/2016 10:36:10 PM (8 years ago)
Author:
mercime
Message:

Accessibility: Improve headings in Groups > Send Invites screen.

Add heading for screen readers and bump the headings for invitees to
improve document structure.

Fixes #7223.

Location:
trunk/src/bp-templates/bp-legacy
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php

    r10181 r11020  
    5959                <?php bp_group_invite_user_avatar(); ?>
    6060
    61                 <h4><?php bp_group_invite_user_link(); ?></h4>
     61                <h3><?php bp_group_invite_user_link(); ?></h3>
    6262                <span class="activity"><?php bp_group_invite_user_last_active(); ?></span>
    6363
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php

    r10181 r11020  
    1717/* Does the user have friends that could be invited to the group? */
    1818if ( bp_get_new_group_invite_friend_list() ) : ?>
     19
     20    <h2 class="bp-screen-reader-text"><?php _e( 'Send invites', 'buddypress' ); ?></h2>
    1921
    2022    <?php /* 'send-invite-form' is important for AJAX support */ ?>
  • trunk/src/bp-templates/bp-legacy/css/buddypress-rtl.css

    r10967 r11020  
    844844}
    845845
     846#buddypress form.standard-form .main-column ul#friend-list h3,
    846847#buddypress form.standard-form .main-column ul#friend-list h4 {
    847848    clear:none;
     
    13051306}
    13061307#buddypress ul.item-list li div.item-title,
     1308#buddypress ul.item-list li h3,
    13071309#buddypress ul.item-list li h4 {
    13081310    font-weight: normal;
     
    17431745        margin-bottom:1em;
    17441746    }
     1747    #buddypress form.standard-form .main-column ul#friend-list h3,
    17451748    #buddypress form.standard-form .main-column ul#friend-list h4{
    17461749        width:100%;
  • trunk/src/bp-templates/bp-legacy/css/buddypress.css

    r10967 r11020  
    844844}
    845845
     846#buddypress form.standard-form .main-column ul#friend-list h3,
    846847#buddypress form.standard-form .main-column ul#friend-list h4 {
    847848    clear:none;
     
    13051306}
    13061307#buddypress ul.item-list li div.item-title,
     1308#buddypress ul.item-list li h3,
    13071309#buddypress ul.item-list li h4 {
    13081310    font-weight: normal;
     
    17431745        margin-bottom:1em;
    17441746    }
     1747    #buddypress form.standard-form .main-column ul#friend-list h3,
    17451748    #buddypress form.standard-form .main-column ul#friend-list h4{
    17461749        width:100%;
Note: See TracChangeset for help on using the changeset viewer.