[wp-trac] [WordPress Trac] #64883: Visual issues with new Media Library grid view

WordPress Trac noreply at wordpress.org
Fri Mar 20 13:50:50 UTC 2026


#64883: Visual issues with new Media Library grid view
--------------------------+------------------------------
 Reporter:  siliconforks  |       Owner:  joedolson
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Presskopp):

 the white stripe is expecting the title of the video as an aria-label.
 Since there is none while uploading, a patching approach could be to
 change the following line:

 {{{'aria-label':   this.model.get( 'title' ),}}} in {{{wp-includes\js
 \media-views.js}}} to e.g:


 {{{'aria-label':   this.model.get( 'title' ) || 'uploading...',}}}

 about the disalignment, this can be fixed by the following CSS:
 {{{#!php
 .media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-
 toggle-button {
     margin: 0 8px 2px 0;
 }
 }}}

 (instead of {{{margin: 0 8px 0 0;}}})

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64883#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list