Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/29/2015 09:16:07 PM (9 years ago)
Author:
imath
Message:

Avatar UI: Improve the accessibility of the uploader view

Props mercime

See #6531

File:
1 edited

Legend:

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

    r9819 r9978  
    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>
Note: See TracChangeset for help on using the changeset viewer.