Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/23/2016 05:39:30 PM (8 years ago)
Author:
mercime
Message:

Accessibility: Remove redundant title attributes.

This is the first sweep for removing title attributes from the
BuddyPress template files.

Fixes #7090.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php

    r10181 r10904  
    2525    <# if ( 'user' === data.object ) { #>
    2626        <p><?php _e( "If you'd like to delete your current cover image but not upload a new one, please use the delete Cover Image button.", 'buddypress' ); ?></p>
    27         <p><a class="button edit" id="bp-delete-cover-image" href="#" title="<?php esc_attr_e( 'Delete Cover Image', 'buddypress' ); ?>"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p>
     27        <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p>
    2828    <# } else if ( 'group' === data.object ) { #>
    2929        <p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p>
    30         <p><a class="button edit" id="bp-delete-cover-image" href="#" title="<?php esc_attr_e( 'Delete Cover Image', 'buddypress' ); ?>"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p>
     30        <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p>
    3131    <# } else { #>
    3232        <?php do_action( 'bp_attachments_cover_image_delete_template' ); ?>
Note: See TracChangeset for help on using the changeset viewer.