Skip to:
Content

BuddyPress.org

Ticket #6531: 6531-change-avatar-upload.3.patch

File 6531-change-avatar-upload.3.patch, 1.1 KB (added by imath, 9 years ago)
  • src/bp-templates/bp-legacy/buddypress/assets/_attachments/uploader.php

    diff --git src/bp-templates/bp-legacy/buddypress/assets/_attachments/uploader.php src/bp-templates/bp-legacy/buddypress/assets/_attachments/uploader.php
    index 79a1efe..f12d275 100644
     
    2121                                <div class="drag-drop-inside">
    2222                                        <p class="drag-drop-info"><?php esc_html_e( 'Drop your file here', 'buddypress' ); ?></p>
    2323                                        <p><?php _ex( 'or', 'Uploader: Drop your file here - or - Select your File', 'buddypress' ); ?></p>
    24                                         <p class="drag-drop-buttons"><input id="{{data.browse_button}}" type="button" value="<?php esc_attr_e( 'Select your File', 'buddypress' ); ?>" class="button" /></p>
     24                                        <p class="drag-drop-buttons"><label for="{{data.browse_button}}" class="bp-screen-reader-text"><?php esc_html_e( 'Select your File', 'buddypress' ); ?></label><input id="{{data.browse_button}}" type="button" value="<?php esc_attr_e( 'Select your File', 'buddypress' ); ?>" class="button" /></p>
    2525                                </div>
    2626                        </div>
    2727                </div>