Skip to:
Content

BuddyPress.org

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

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

     
    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( 'Upload your image', 'buddypress' ); ?></label><input id={{data.browse_button}}" type="button" value="<?php esc_attr_e( 'Select your File', 'buddypress' ); ?>" title="Select your File" class="button" /></p>
    2525                                </div>
    2626                        </div>
    2727                </div>