Skip to content

Commit 2e12363

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. Built from https://develop.svn.wordpress.org/trunk@62104 git-svn-id: http://core.svn.wordpress.org/trunk@61386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 9f9458d commit 2e12363

File tree

7 files changed

+7
-5
lines changed

7 files changed

+7
-5
lines changed

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

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

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

wp-includes/css/media-views-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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,

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/js/media-views.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2916,7 +2916,7 @@ Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{
29162916
return {
29172917
'tabIndex': 0,
29182918
'role': 'checkbox',
2919-
'aria-label': this.model.get( 'title' ),
2919+
'aria-label': this.model.get( 'title' ) || wp.i18n.__( 'uploading...' ),
29202920
'aria-checked': false,
29212921
'data-id': this.model.get( 'id' )
29222922
};

wp-includes/js/media-views.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-beta6-62103';
19+
$wp_version = '7.0-beta6-62104';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)