Skip to content

Commit 6607b4d

Browse files
committed
Media: Fix visual issues in media library grid view.
Populate the uploading progress bar visual naming element. Provides a nominal accessibility improvement, in that long uploads can be found and recognized during the upload process. Fix an alignment issue in the bulk select button. Follow up to [61757]. Props siliconforks, presskopp, ozgursar, joedolson. Fixes #64883. git-svn-id: https://develop.svn.wordpress.org/trunk@62104 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7f4041b commit 6607b4d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/js/media/views/attachment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{
2121
return {
2222
'tabIndex': 0,
2323
'role': 'checkbox',
24-
'aria-label': this.model.get( 'title' ),
24+
'aria-label': this.model.get( 'title' ) || wp.i18n.__( 'uploading...' ),
2525
'aria-checked': false,
2626
'data-id': this.model.get( 'id' )
2727
};

src/wp-includes/css/media-views.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@
352352
display: flex;
353353
flex-wrap: wrap;
354354
gap: 12px;
355+
align-items: end;
355356
}
356357

357358
.media-toolbar-primary > .media-button,

0 commit comments

Comments
 (0)