WordPress 4.5
[autoinstalls/wordpress.git] / wp-admin / includes / theme-install.php
index 5ae364d33d2e70dd7ac6e8ad8c903a8deaad647c..27538b748991b0d98095f706dce1e6bcffaa2724 100644 (file)
@@ -142,8 +142,9 @@ function install_themes_upload() {
 ?>
 <p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.'); ?></p>
 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>">
-       <?php wp_nonce_field( 'theme-upload'); ?>
-       <input type="file" name="themezip" />
+       <?php wp_nonce_field( 'theme-upload' ); ?>
+       <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label>
+       <input type="file" id="themezip" name="themezip" />
        <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?>
 </form>
        <?php