Make WordPress Core


Ignore:
Timestamp:
08/18/2025 08:25:45 PM (7 months ago)
Author:
joedolson
Message:

Accessibility: Make buttons to add site images look like buttons.

The buttons to add site icons, logos, header images, and background images were designed with a dashed border. This led to confusion with users thinking they were drop regions for image uploads, rather than buttons to trigger an upload.

Change design of upload buttons to clarify expected user interaction.

Props emaildano, afercia, joedolson, ankitkumarshah, logicrays, shailu25.
Fixes #47579.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r59806 r60645  
    106106    wp_enqueue_script( 'site-icon' );
    107107
    108     $classes_for_upload_button = 'upload-button button-add-media button-add-site-icon';
     108    $classes_for_upload_button = 'upload-button button-hero button';
    109109    $classes_for_update_button = 'button';
    110110    $classes_for_wrapper       = '';
Note: See TracChangeset for help on using the changeset viewer.